diff options
author | Barry Warsaw <barry@python.org> | 2011-02-14 20:04:00 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2011-02-14 20:04:00 +0000 |
commit | c39004d6b0308455beca8abb40f7c1659bc39d7f (patch) | |
tree | 797d9f180a38c82233fa549383fd5229b1d777bf /Lib/sysconfig.py | |
parent | d0f58a40415b44017f01deea4692b29523eedc90 (diff) | |
download | cpython-c39004d6b0308455beca8abb40f7c1659bc39d7f.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.py | 2 |
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): |