mirror of
https://github.com/python/cpython.git
synced 2025-08-17 15:21:26 +00:00
- Issue #11171: Fix detection of config/Makefile when --prefix !=
--exec-prefix, which caused Python to not start.
This commit is contained in:
parent
97b31954b7
commit
42bb7ca9e4
2 changed files with 4 additions and 1 deletions
|
@ -271,7 +271,7 @@ def _parse_makefile(filename, vars=None):
|
||||||
def _get_makefile_filename():
|
def _get_makefile_filename():
|
||||||
if _PYTHON_BUILD:
|
if _PYTHON_BUILD:
|
||||||
return os.path.join(_PROJECT_BASE, "Makefile")
|
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):
|
def _init_posix(vars):
|
||||||
|
|
|
@ -37,6 +37,9 @@ Core and Builtins
|
||||||
Library
|
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
|
- Issue #11116: any error during addition of a message to a mailbox now causes
|
||||||
a rollback, instead of leaving the mailbox partially modified.
|
a rollback, instead of leaving the mailbox partially modified.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue