From: Frank Vanbever Date: Wed, 11 Mar 2020 10:54:44 +0000 (+0100) Subject: package/python-iptables: add explicit dependency on dynamic libs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21b85bc56cdcf030cced57dea0f78cdce59912b8;p=buildroot.git 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 Signed-off-by: Yann E. MORIN --- 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