lksctp-tools: requires dynamic library support
authorBaruch Siach <baruch@tkos.co.il>
Tue, 12 Apr 2016 16:56:15 +0000 (19:56 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 12 Apr 2016 21:22:36 +0000 (23:22 +0200)
Fixes:
http://autobuild.buildroot.net/results/259/25910726158f4b2cbd9ceb60c170f4b2d0b546ef/
http://autobuild.buildroot.net/results/94a/94ab8ba783a67529a62d4994ab8c62c8656a05e6/
http://autobuild.buildroot.net/results/1e5/1e59f273e0f31646065a1323a2e231c17babfe59/

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lksctp-tools/Config.in

index b8a8c7af93cab8594b58fce5a2d54e871337413f..9c95ef5e1caade15cfcf1ec528e0bfa9790e6fc0 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LKSCTP_TOOLS
        bool "lksctp-tools"
        depends on BR2_USE_MMU # fork()
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_STATIC_LIBS # dlopen()
        help
          The lksctp-tools project provides a Linux user space library
          for SCTP (libsctp) including C language header files
@@ -11,6 +12,6 @@ config BR2_PACKAGE_LKSCTP_TOOLS
 
          http://lksctp.sourceforge.net/
 
-comment "lksctp-tools needs a toolchain w/ threads"
+comment "lksctp-tools needs a toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS