[Buildroot] [git commit branch/2020.02.x] package/python-iptables: add explicit dependency on dynamic libs

Peter Korsgaard peter at korsgaard.com
Wed May 6 05:15:01 UTC 2020

commit: https://git.buildroot.net/buildroot/commit/?id=b6d45c45cb0e0e0a7080350dadb2eccefdaa8b0f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x

The package uses ctypes.CDLL extensively which only makes sense when dynamic
libraries are available.

Signed-off-by: Frank Vanbever <frank.vanbever at essensium.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 21b85bc56cdcf030cced57dea0f78cdce59912b8)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
 package/python-iptables/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

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 @@
 	bool "python-iptables"
+	depends on !BR2_STATIC_LIBS
 	select BR2_PACKAGE_IPTABLES # runtime dependency
 	  Python bindings for iptables.
+comment "python-iptables needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS

More information about the buildroot mailing list