conntrack-tools: uses dlopen(), not available on static builds
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 31 May 2015 19:16:31 +0000 (21:16 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 31 May 2015 19:18:07 +0000 (21:18 +0200)
Fixes:
http://autobuild.buildroot.net/results/fff/fff4865c9bb8ca42d3cece903d0fc3daea504f67/
http://autobuild.buildroot.net/results/742/74222a44ad168148c18af479878d8f848d3d6a73/
http://autobuild.buildroot.net/results/470/470197fad2402be9222b8abf96dd45c341a850e9/
http://autobuild.buildroot.net/results/ab1/ab1ae40f1862300cd7667b7bd03cc59d7455a769/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/conntrack-tools/Config.in

index 84d3fd467dbf02e42f4b9b378a34c3a1b1690b33..03e3ed905f7d9fcd8407cf3919c51a6c71d60618 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_CONNTRACK_TOOLS
        bool "conntrack-tools"
        depends on BR2_USE_MMU # fork()
        depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
+       depends on !BR2_STATIC_LIBS # dlopen()
        select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
        select BR2_PACKAGE_LIBNETFILTER_CTHELPER
        select BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT
@@ -17,4 +18,5 @@ config BR2_PACKAGE_CONNTRACK_TOOLS
 
 comment "conntrack-tools needs a toolchain w/ threads"
        depends on BR2_USE_MMU
-       depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
+       depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) || \
+               BR2_STATIC_LIBS