mirror of
https://github.com/python/cpython.git
synced 2025-08-15 06:10:47 +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():
|
||||
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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue