From: Frank Vanbever Date: Fri, 28 Feb 2020 17:39:15 +0100 Subject: [Buildroot] [PATCH v2 1/3] package/python-iptables: add explicit dependency on dynamic libs In-Reply-To: <20200226142617.4170-1-frank.vanbever@essensium.com> References: <20200226142617.4170-1-frank.vanbever@essensium.com> Message-ID: <20200228163917.10596-1-frank.vanbever@essensium.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net The package uses ctypes.CDLL extensively which only makes sense when dynamic libraries are available. Signed-off-by: Frank Vanbever --- v1 - > v2: - Add some additional explanation in commit message. --- 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 @@ 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 -- 2.20.1