vcpkg/ports/python3/0018-fix-sysconfig-include.patch
2024-02-14 23:07:00 -08:00

16 lines
639 B
Diff

diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index ebe371182..e351df7da 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -51,8 +51,8 @@
'platstdlib': '{base}/Lib',
'purelib': '{base}/Lib/site-packages',
'platlib': '{base}/Lib/site-packages',
- 'include': '{installed_base}/Include',
- 'platinclude': '{installed_base}/Include',
+ 'include': '{installed_base}/../../include/python{py_version_short}{abiflags}',
+ 'platinclude': '{installed_base}/../../include/python{py_version_short}{abiflags}',
'scripts': '{base}/Scripts',
'data': '{base}',
},