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

View File

@ -37,6 +37,9 @@ Core and Builtins
Library
-------
- Issue #11171: Fix detection of config/Makefile when --prefix !=
--exec-prefix, which caused Python to not start.
- Issue #11116: any error during addition of a message to a mailbox now causes
a rollback, instead of leaving the mailbox partially modified.