d341ec0350
python-iptables depends on ctypes.util.find_library() which does not work due to the absence of gcc and friends on target. The location of the xtables library and the iptables modules can be configured through environment variables. Within the scope of buildroot we can determine what these should be at build time and replace the calls to os.getenv() with the correct value. Fixes: https://bugs.busybox.net/show_bug.cgi?id=12271 Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
12 lines
291 B
Plaintext
12 lines
291 B
Plaintext
config BR2_PACKAGE_PYTHON_IPTABLES
|
|
bool "python-iptables"
|
|
depends on !BR2_STATIC_LIBS
|
|
select BR2_PACKAGE_IPTABLES
|
|
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
|