package/neard: needs shared libs
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 4 May 2015 22:12:27 +0000 (00:12 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 5 May 2015 15:12:15 +0000 (17:12 +0200)
neard uses dlopen(), so needs shared libs.

Fixes:
    http://autobuild.buildroot.org/results/0a4/0a466cde55c5e128a2e201924f80f0ec6b8b5c2a/

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/neard/Config.in

index ed20e0604b2c15e5d8a41c7f6adad6ceb13adf46..353d1af8c5a438b04fa2182c82d3abf962866415 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_NEARD
        depends on BR2_USE_WCHAR # libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # libnl, dbus, libglib2
        depends on BR2_USE_MMU # dbus, libglib2
+       depends on !BR2_STATIC_LIBS # dlopen
        select BR2_PACKAGE_DBUS
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_LIBNL
@@ -23,6 +24,6 @@ config BR2_PACKAGE_NEARD_TOOLS
 
 endif
 
-comment "neard needs a toolchain w/ wchar, threads"
+comment "neard needs a toolchain w/ wchar, threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS