diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch b/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch new file mode 100644 index 0000000000..fc52fdac26 --- /dev/null +++ b/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From a5d429a0e1a4809c1ded7be7e45dcabeb82c53d8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Sun, 12 Sep 2021 21:44:36 +0200 | ||
4 | Subject: [PATCH] sysconfig.py: use platlibdir also for purelib | ||
5 | |||
6 | This is needed in multilib configurations where hardcoding 'lib' | ||
7 | is not correct. | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe-core specific] | ||
10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
11 | |||
12 | --- | ||
13 | Lib/sysconfig.py | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py | ||
17 | index 122d441..79c0510 100644 | ||
18 | --- a/Lib/sysconfig.py | ||
19 | +++ b/Lib/sysconfig.py | ||
20 | @@ -28,7 +28,7 @@ _INSTALL_SCHEMES = { | ||
21 | 'posix_prefix': { | ||
22 | 'stdlib': '{installed_base}/{platlibdir}/python{py_version_short}', | ||
23 | 'platstdlib': '{platbase}/{platlibdir}/python{py_version_short}', | ||
24 | - 'purelib': '{base}/lib/python{py_version_short}/site-packages', | ||
25 | + 'purelib': '{base}/{platlibdir}/python{py_version_short}/site-packages', | ||
26 | 'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages', | ||
27 | 'include': | ||
28 | '{installed_base}/include/python{py_version_short}{abiflags}', | ||