- Issue #11171: Fix detection of config/Makefile when --prefix !=

--exec-prefix, which caused Python to not start.
This commit is contained in:
Barry Warsaw 2011-02-14 20:04:00 +00:00
parent 97b31954b7
commit 42bb7ca9e4
2 changed files with 4 additions and 1 deletions

View file

@ -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):