arptables: needs dynamic linking support for dlopen()
authorPeter Korsgaard <peter@korsgaard.com>
Sat, 8 Nov 2014 12:22:53 +0000 (13:22 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 8 Nov 2014 12:22:53 +0000 (13:22 +0100)
Fixes:
http://autobuild.buildroot.net/results/b96/b9642befef82e479cc50839e07114cb87314d156/
http://autobuild.buildroot.net/results/57f/57ffebbe925391badf81f6867fdbf16975b4af6f/
http://autobuild.buildroot.net/results/5f1/5f1966f1a7c8800846a8405b7e74f4893f3fcd14/

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

index 414fabb258c29c771a3e070e2a2d59e969747453..15414a0f3af76deaadfc2384fc270f3c9b2a5038 100644 (file)
@@ -1,8 +1,12 @@
 config BR2_PACKAGE_ARPTABLES
        bool "arptables"
-       # needs fork()
-       depends on BR2_USE_MMU
+       depends on BR2_USE_MMU # needs fork()
+       depends on !BR2_PREFER_STATIC_LIB # needs dlopen()
        help
          Tool to set up, maintain, and inspect the tables of ARP rules.
 
          http://ebtables.sourceforge.net
+
+comment "arptables needs a toolchain w/ dynamic library"
+       depends on BR2_USE_MMU
+       depends on BR2_PREFER_STATIC_LIB