bluez: install empty bluez.pc

This is needed to convience pulseaudio that bluez is present.
This commit is contained in:
Jernej Skrabec 2021-12-08 20:35:55 +01:00
parent aef66b7ef5
commit 6c1cc07900

View File

@ -64,6 +64,10 @@ post_makeinstall_target() {
# bluez looks in /etc/firmware/
ln -sf /usr/lib/firmware ${INSTALL}/etc/firmware
# pulseaudio checks for bluez via pkgconfig but lib is not actually needed
sed -i 's/-lbluetooth//g' ${PKG_BUILD}/lib/bluez.pc
cp -P ${PKG_BUILD}/lib/bluez.pc ${SYSROOT_PREFIX}/usr/lib/pkgconfig
}
post_install() {