diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2013-12-05 17:56:48 +0000 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-12-26 23:16:22 +0100 |
commit | fe093f226c40dd0a3466fc8dfc779a936daee4cc (patch) | |
tree | 493174bc18e3ef99260cc6fdce0e9c5bae8be146 /package/openobex | |
parent | 87492d244a1dbf6114bb464e8d8dbedcf08fb399 (diff) | |
download | buildroot-fe093f226c40dd0a3466fc8dfc779a936daee4cc.tar.gz buildroot-fe093f226c40dd0a3466fc8dfc779a936daee4cc.zip |
bluez_utils: broken for static builds
The bluez_utils package requires shared library support unconditionally.
We can't fix it to make it build on static because, for instance,
"plugin.c" file uses dlfcn and it's a basic prereq for bluetoothd, so
add "depend on !BR2_PREFER_STATIC_LIB" to it and recursively to all
packages that selects BR2_PACKAGE_BLUEZ_UTILS.
Fixes:
http://autobuild.buildroot.net/results/d81/d81970024649c1e89c01da491c63760afdad6cb6/
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openobex')
-rw-r--r-- | package/openobex/Config.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/openobex/Config.in b/package/openobex/Config.in index 9b9d2f9a29..b52f757595 100644 --- a/package/openobex/Config.in +++ b/package/openobex/Config.in @@ -12,14 +12,15 @@ if BR2_PACKAGE_OPENOBEX config BR2_PACKAGE_OPENOBEX_BLUEZ bool "enable bluez support" depends on !BR2_avr32 + depends on !BR2_PREFER_STATIC_LIB # bluez_utils depends on BR2_USE_WCHAR # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2 depends on BR2_USE_MMU # dbus select BR2_PACKAGE_BLUEZ_UTILS -comment "bluez support needs a toolchain w/ wchar, threads" +comment "bluez support needs a toolchain w/ wchar, threads, dynamic library" depends on !BR2_avr32 && BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB config BR2_PACKAGE_OPENOBEX_LIBUSB bool "enable libusb support" |