summaryrefslogtreecommitdiff
path: root/Lib/sysconfig.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2011-02-14 20:04:00 +0000
committerBarry Warsaw <barry@python.org>2011-02-14 20:04:00 +0000
commit42bb7ca9e4559222e22aa44f30f8854e2110b9b8 (patch)
tree5242018dcb1335d5f073ee4a0eacb2d09c7a7fe7 /Lib/sysconfig.py
parent97b31954b748e3e99b31b9202cefb72a45c00ca0 (diff)
downloadcpython-git-42bb7ca9e4559222e22aa44f30f8854e2110b9b8.tar.gz
- Issue #11171: Fix detection of config/Makefile when --prefix !=
--exec-prefix, which caused Python to not start.
Diffstat (limited to 'Lib/sysconfig.py')
-rw-r--r--Lib/sysconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index 33b2791536..77402d8ab7 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -271,7 +271,7 @@ def _parse_makefile(filename, vars=None):
def _get_makefile_filename():
if _PYTHON_BUILD:
return os.path.join(_PROJECT_BASE, "Makefile")
- return os.path.join(get_path('stdlib'), "config", "Makefile")
+ return os.path.join(get_path('platstdlib'), "config", "Makefile")
def _init_posix(vars):