summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-10-19 21:02:40 +0300
committerGitHub <noreply@github.com>2020-10-19 21:02:40 +0300
commit4c3e32eea5af7e1738ac176392435a8fb538fbac (patch)
tree98f607a1343ac64804d9cdcc6f0656f631121b07 /lang/python/python3/patches/008-distutils-use-python-sysroot.patch
parentdc4705478aa83e78c84c701a1af88eb5ec9eaf4d (diff)
parentcc332fddaa7db1887a123681320b3a767f04fbe6 (diff)
Merge pull request #13709 from commodo/python-bump
python3: bump to version 3.9.0
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 751f9d797..f218c46d5 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
-@@ -18,10 +18,17 @@ from .errors import DistutilsPlatformErr
- from .util import get_platform, get_host_platform
+@@ -17,10 +17,17 @@ import sys
+ from .errors import DistutilsPlatformError
# These are needed in a couple of spots, so just compute them once.
-PREFIX = os.path.normpath(sys.prefix)