- Issue #11171: Fix detection of config/Makefile when --prefix !=
--exec-prefix, which caused Python to not start.
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index 33b2791..77402d8 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -271,7 +271,7 @@
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):