python,python3: Fix ctypes.util.find_library() 9533/head
authorJeffery To <jeffery.to@gmail.com>
Sun, 21 Jul 2019 20:42:54 +0000 (04:42 +0800)
committerJeffery To <jeffery.to@gmail.com>
Sun, 21 Jul 2019 20:52:27 +0000 (04:52 +0800)
commit2d6700ed3830e52a3271bb5e0e8b7093d4ada86d
tree960d01c9c7eb07a37571fc5ad8c818f2f8cd0c98
parentd3dbea185ce67b0a1506ebf466debb5b3ce04523
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 <jeffery.to@gmail.com>
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]