blob: b97583682a6448a1aed667a8e99abc7499e110e8 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001From a21f4f8fa5e5c0601898740b4ac08ec84f41e190 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 18 Apr 2019 17:11:06 +0200
4Subject: [PATCH] Lib/sysconfig.py: fix another place where 'lib' is hardcoded
5 as the library path
6
7Upstream-Status: Inappropriate [oe-core specific]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9---
10 Lib/sysconfig.py | 8 ++++----
11 1 file changed, 4 insertions(+), 4 deletions(-)
12
13diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
14index d15cec8..87fa5e6 100644
15--- a/Lib/sysconfig.py
16+++ b/Lib/sysconfig.py
17@@ -20,10 +20,10 @@ __all__ = [
18
19 _INSTALL_SCHEMES = {
20 'posix_prefix': {
21- 'stdlib': '{installed_base}/lib/python{py_version_short}',
22- 'platstdlib': '{platbase}/lib/python{py_version_short}',
23- 'purelib': '{base}/lib/python{py_version_short}/site-packages',
24- 'platlib': '{platbase}/lib/python{py_version_short}/site-packages',
25+ 'stdlib': '{LIBDEST}',
26+ 'platstdlib': '{LIBDEST}',
27+ 'purelib': '{LIBDEST}/site-packages',
28+ 'platlib': '{LIBDEST}/site-packages',
29 'include':
30 '{installed_base}/include/python{py_version_short}{abiflags}',
31 'platinclude':