summaryrefslogtreecommitdiff
path: root/lang/python/python3-version.mk
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-10-30 23:56:43 +0800
committerRosen Penev <rosenp@gmail.com>2023-10-30 13:33:07 -0700
commit624fb955619c0b4b368e2ac1880619f159e3b8d6 (patch)
tree83b1dbf10387dc70c42c360bff4e19cda3d4f348 /lang/python/python3-version.mk
parent9ea2ec7cd1d9902352a67d6152107e9c452d6dbb (diff)
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>
Diffstat (limited to 'lang/python/python3-version.mk')
-rw-r--r--lang/python/python3-version.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/python3-version.mk b/lang/python/python3-version.mk
index 5712e0f1d..6b21bc61e 100644
--- a/lang/python/python3-version.mk
+++ b/lang/python/python3-version.mk
@@ -12,7 +12,7 @@ PYTHON3_VERSION_MICRO:=6
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
-PYTHON3_SETUPTOOLS_PKG_RELEASE:=1
+PYTHON3_SETUPTOOLS_PKG_RELEASE:=2
PYTHON3_PIP_PKG_RELEASE:=1
PYTHON3_SETUPTOOLS_VERSION:=65.5.0