summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/sysconfig.py2
-rw-r--r--Misc/NEWS3
2 files changed, 4 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):
diff --git a/Misc/NEWS b/Misc/NEWS
index 4a2ff935be..40c564435a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.