openwrt-packages/lang/python/python3/patches-host-setuptools
Jeffery To 624fb95561 python3: Fix building C extensions with setuptools
setuptools provides a local copy of distutils and when building a C
extension, this distutils will add the target LIBDIR (/usr/lib) to the
list of library paths.

If the build system has a libpython3.11.so in /usr/lib, then the linker
will try to link to this shared library and fail.

This adapts 008-distutils-use-python-sysroot.patch for host setuptools
to add the correct library directory.

Fixes: https://github.com/openwrt/packages/issues/22330

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-30 13:33:07 -07:00
..
.gitkeep python3: Split setuptools into separate source package 2023-05-26 22:06:24 +08:00
0001-Adjust-library-header-paths-for-cross-compilation.patch python3: Fix building C extensions with setuptools 2023-10-30 13:33:07 -07:00