--- sysconfig.py.bak 2014-06-10 09:19:56.089434827 -0400 +++ sysconfig.py 2014-06-10 09:26:09.977430547 -0400 @@ -328,7 +328,7 @@ def _get_makefile_filename(): if _PYTHON_BUILD: return os.path.join(_PROJECT_BASE, "Makefile") - return os.path.join(get_path('platstdlib').replace("/usr/local","/usr",1), "config" + (sys.pydebug and "_d" or ""), "Makefile") + return os.path.join(get_path('platstdlib').replace("/usr/local","/usr",1), "config", "Makefile") def _init_posix(vars): @@ -413,7 +413,7 @@ else: inc_dir = _PROJECT_BASE else: - inc_dir = get_path('platinclude').replace("/usr/local","/usr",1)+(sys.pydebug and "_d" or "") + inc_dir = get_path('platinclude').replace("/usr/local","/usr",1) return os.path.join(inc_dir, 'pyconfig.h') def get_scheme_names():