blob: fc52fdac26e674744875fbf31bbd88872f51bf24 [file] [log] [blame]
Patrick Williams56b44a92024-01-19 08:49:29 -06001From a5d429a0e1a4809c1ded7be7e45dcabeb82c53d8 Mon Sep 17 00:00:00 2001
Andrew Geisslereff27472021-10-29 15:35:00 -05002From: Alexander Kanavin <alex@linutronix.de>
3Date: Sun, 12 Sep 2021 21:44:36 +0200
4Subject: [PATCH] sysconfig.py: use platlibdir also for purelib
5
6This is needed in multilib configurations where hardcoding 'lib'
7is not correct.
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Andrew Geissler595f6302022-01-24 19:11:47 +000011
Andrew Geisslereff27472021-10-29 15:35:00 -050012---
13 Lib/sysconfig.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
Patrick Williams56b44a92024-01-19 08:49:29 -060017index 122d441..79c0510 100644
Andrew Geisslereff27472021-10-29 15:35:00 -050018--- a/Lib/sysconfig.py
19+++ b/Lib/sysconfig.py
Patrick Williams56b44a92024-01-19 08:49:29 -060020@@ -28,7 +28,7 @@ _INSTALL_SCHEMES = {
Andrew Geisslereff27472021-10-29 15:35:00 -050021 '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}',