bluez5_utils: not for static builds
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 28 Oct 2014 17:02:33 +0000 (14:02 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 Oct 2014 17:50:43 +0000 (18:50 +0100)
Disable for static builds, it uses dlfcn. Fixes:
http://autobuild.buildroot.net/results/7cd/7cd87c9e9b8b41ee01413050e554b5422d207e70/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/bluez5_utils/Config.in

index ec1352f720fec4ca5136ce00b15183bb9feb330a..a374f921d94d78492670d9dd623f06c411b16556 100644 (file)
@@ -5,6 +5,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS
        depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
        depends on BR2_USE_MMU # dbus
        depends on BR2_INET_IPV6
+       depends on !BR2_PREFER_STATIC_LIB # uses dlfcn
        depends on !BR2_PACKAGE_BLUEZ_UTILS # conflicts with 4.x version
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
        select BR2_PACKAGE_DBUS
@@ -62,9 +63,10 @@ config BR2_PACKAGE_BLUEZ5_UTILS_TEST
 
 endif
 
-comment "bluez5-utils needs a toolchain w/ wchar, threads, IPv6, headers >= 3.4"
+comment "bluez5-utils needs a toolchain w/ wchar, threads, IPv6, headers >= 3.4, dynamic library"
        depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
-               !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
+               !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || \
+               BR2_PREFER_STATIC_LIB
        depends on BR2_USE_MMU
 
 comment "bluez5-utils conflicts with older bluez-utils version"