python,python3: Fix ctypes.util.find_library()
authorJeffery To <redacted>
Sun, 21 Jul 2019 20:42:54 +0000 (04:42 +0800)
committerJeffery To <redacted>
Sun, 21 Jul 2019 20:42:54 +0000 (04:42 +0800)
commite14c4e5c0a4baa0683a111049e46a679aef9b1a6
tree93355711a602a897669937118d3d94c6be994a84
parentded736a697a8227325c6d42188644b98585a6c76
python,python3: Fix ctypes.util.find_library()

Python's ctypes.util.find_library() function currently doesn't work for
musl libraries/systems[1].

This adds a patch to fix this function, based on a patch from Alpine
Linux[2].

Fixes #9448.

[1]: https://bugs.python.org/issue21622
[2]: https://git.alpinelinux.org/aports/tree/main/python2/musl-find_library.patch

Signed-off-by: Jeffery To <redacted>
lang/python/python/Makefile
lang/python/python/patches/024-musl-find_library.patch [new file with mode: 0644]
lang/python/python3/Makefile
lang/python/python3/patches/024-musl-find_library.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT