diff --git a/packages/network/bluez/build b/packages/network/bluez/build index 3aa10cba30..67668175df 100755 --- a/packages/network/bluez/build +++ b/packages/network/bluez/build @@ -48,8 +48,8 @@ cd $PKG_BUILD --localstatedir=/var \ --disable-dependency-tracking \ --disable-silent-rules \ - --disable-shared \ - --enable-static \ + --enable-shared \ + --disable-static \ --enable-optimization \ --enable-fortify \ --disable-pie \ diff --git a/packages/network/bluez/install b/packages/network/bluez/install index ef2ffb1a01..bf605ad081 100755 --- a/packages/network/bluez/install +++ b/packages/network/bluez/install @@ -47,6 +47,9 @@ mkdir -p $INSTALL/lib/udev/rules.d # todo: cp $PKG_BUILD/scripts/97-bluetooth-hid2hci.rules $INSTALL/lib/udev/rules.d # not needed: cp $PKG_BUILD/scripts/97-bluetooth-serial.rules $INSTALL/lib/udev/rules.d +mkdir -p $INSTALL/usr/lib + cp -P $PKG_BUILD/lib/.libs/libbluetooth.so* $INSTALL/usr/lib + if [ "$ALSA_SUPPORT" = yes ]; then mkdir -p $INSTALL/usr/lib/alsa cp $PKG_BUILD/audio/.libs/*.so $INSTALL/usr/lib/alsa