packages/lang/python/python3
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
..
files
…
patches python3: Update to 3.11.6, refresh patches 2023-10-09 09:20:50 +08:00
patches-host-pip
…
patches-host-setuptools python3: Fix building C extensions with setuptools 2023-10-30 13:33:07 -07:00
Config-python3-light.in
…
Makefile python3: Update to 3.11.6, refresh patches 2023-10-09 09:20:50 +08:00
test.sh python3: Update to 3.11.5, refresh patches 2023-09-08 19:01:47 +08:00