Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 1 | From a21f4f8fa5e5c0601898740b4ac08ec84f41e190 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Thu, 18 Apr 2019 17:11:06 +0200 |
| 4 | Subject: [PATCH] Lib/sysconfig.py: fix another place where 'lib' is hardcoded |
| 5 | as the library path |
| 6 | |
| 7 | Upstream-Status: Inappropriate [oe-core specific] |
| 8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 9 | --- |
| 10 | Lib/sysconfig.py | 8 ++++---- |
| 11 | 1 file changed, 4 insertions(+), 4 deletions(-) |
| 12 | |
| 13 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py |
| 14 | index 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': |