diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-06-29 16:33:25 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2023-09-05 12:42:50 +0800 |
| commit | ec9d61450ee9831a28ec712166a791fffd0888b3 (patch) | |
| tree | 1d11d5b427780ac0e0372365ae5228d3e750173c /lang/python/python3/files/python3-package-dev.mk | |
| parent | 2438d49f1016dc942f0d82af335e7fdd4b88c6a0 (diff) | |
python3: Restore platform triplet to paths
This removes 014-remove-platform-so-suffix.patch and
016-adjust-config-paths.patch, restoring the platform triplet to paths
for:
* C extensions (*.cpython-311-*.so)
* Build config data directory (/usr/lib/python3.11/config-3.11-*/)
* sysconfig data file (/usr/lib/python3.11/_sysconfigdata_*.py)
Setting `_PYTHON_SYSCONFIGDATA_NAME` during package builds ensures that
sysconfig data for target Python is loaded, in particular so that C
extensions built will have the correct extension / platform triplet.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0fe10114208e2c5cd572df043945a52e3ebeb6dd)
Diffstat (limited to 'lang/python/python3/files/python3-package-dev.mk')
| -rw-r--r-- | lang/python/python3/files/python3-package-dev.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/python3/files/python3-package-dev.mk b/lang/python/python3/files/python3-package-dev.mk index 3eca521ff..871fff9ee 100644 --- a/lang/python/python3/files/python3-package-dev.mk +++ b/lang/python/python3/files/python3-package-dev.mk @@ -27,7 +27,7 @@ define Py3Package/python3-dev/install endef $(eval $(call Py3BasePackage,python3-dev, \ - /usr/lib/python$(PYTHON3_VERSION)/config-$(PYTHON3_VERSION) \ + /usr/lib/python$(PYTHON3_VERSION)/config-$(PYTHON3_VERSION)-* \ /usr/include/python$(PYTHON3_VERSION) \ /usr/lib/pkgconfig \ , \ |
