package/python-iptables: try known libc instead of find_library()
authorFrank Vanbever <frank.vanbever@essensium.com>
Wed, 11 Mar 2020 10:54:45 +0000 (11:54 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 15 Apr 2020 20:24:41 +0000 (22:24 +0200)
commit90c18ab269c600ee7643f69212713ee3b74c38bd
tree69edf3fc04c5b9ab8ce8621abee6325bc53187d0
parent21b85bc56cdcf030cced57dea0f78cdce59912b8
package/python-iptables: try known libc instead of find_library()

ctypes.util.find_library() depends on gcc and friends to detect the location of
a given shared library. Given that these are not available on the target and
that python-iptables depends on this functionality we need to work around this.
The SONAMEs of the libc are well known so we try the known ones for glibc,
uClibc and musl.

Fixes: https://bugs.busybox.net/show_bug.cgi?id=12271
Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/python-iptables/0001-Add-separate-mechanism-to-load-libc.patch [new file with mode: 0644]