From 42bb7ca9e4559222e22aa44f30f8854e2110b9b8 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 14 Feb 2011 20:04:00 +0000 Subject: [PATCH] - Issue #11171: Fix detection of config/Makefile when --prefix != --exec-prefix, which caused Python to not start. --- Lib/sysconfig.py | 2 +- Misc/NEWS | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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. -- 2.50.1