aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Vanbever <frank.vanbever@essensium.com>2020-03-11 11:54:44 +0100
committerYann E. MORIN <yann.morin.1998@free.fr>2020-04-15 22:23:35 +0200
commit21b85bc56cdcf030cced57dea0f78cdce59912b8 (patch)
treeb73836544c33ada44be9f76ac0f833c684a84679
parent7925e19fd7b613bb97b1691552fe76100ca4dde0 (diff)
downloadbuildroot-21b85bc56cdcf030cced57dea0f78cdce59912b8.tar.bz2
package/python-iptables: add explicit dependency on dynamic libs
The package uses ctypes.CDLL extensively which only makes sense when dynamic libraries are available. Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
-rw-r--r--package/python-iptables/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/python-iptables/Config.in b/package/python-iptables/Config.in
index e55359963e..a35577bad3 100644
--- a/package/python-iptables/Config.in
+++ b/package/python-iptables/Config.in
@@ -1,7 +1,11 @@
config BR2_PACKAGE_PYTHON_IPTABLES
bool "python-iptables"
+ depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_IPTABLES # runtime dependency
help
Python bindings for iptables.
https://github.com/ldx/python-iptables
+
+comment "python-iptables needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS