Browse Source

conntrack-tools: uses dlopen(), not available on static builds

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>
Peter Korsgaard 10 năm trước cách đây
mục cha
commit
3afbc4f378
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      package/conntrack-tools/Config.in

+ 3 - 1
package/conntrack-tools/Config.in

@@ -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