summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python3/patches/008-distutils-use-python-sysroot.patch')
-rw-r--r--lang/python/python3/patches/008-distutils-use-python-sysroot.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/python3/patches/008-distutils-use-python-sysroot.patch b/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
index f218c46d5..751f9d797 100644
--- a/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
+++ b/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
@@ -36,8 +36,8 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
self.library_dirs.append('.')
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
-@@ -17,10 +17,17 @@ import sys
- from .errors import DistutilsPlatformError
+@@ -18,10 +18,17 @@ from .errors import DistutilsPlatformErr
+ from .util import get_platform, get_host_platform
# These are needed in a couple of spots, so just compute them once.
-PREFIX = os.path.normpath(sys.prefix)