summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-10-21 18:36:13 +0300
committerGitHub <noreply@github.com>2019-10-21 18:36:13 +0300
commit7a49d8a232b8157528a0e7da65be66e60d73bc31 (patch)
tree873944dde69e55b6eb16326dee621c4f909aa930 /lang/python/python3/patches/008-distutils-use-python-sysroot.patch
parent3c9c889e9e32c08e6880e6d9fe4c47db85e4ef41 (diff)
parent48277ec9158151763239461c6f60808e38a99c2f (diff)
Merge pull request #10314 from commodo/python-3-8
python3: bump to version 3.8
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)