From: Stefan Krah Date: Wed, 29 Feb 2012 13:17:18 +0000 (+0100) Subject: Issue #14152: backport fix. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4666ebd8fae8e115dc51b25d630481b15613e94d;p=python Issue #14152: backport fix. --- diff --git a/setup.py b/setup.py index 6b47451bed..2c1473c8bb 100644 --- a/setup.py +++ b/setup.py @@ -186,7 +186,7 @@ class PyBuildExt(build_ext): # Python header files headers = [sysconfig.get_config_h_filename()] - headers += glob(os.path.join(sysconfig.get_path('platinclude'), "*.h")) + headers += glob(os.path.join(sysconfig.get_path('include'), "*.h")) for ext in self.extensions[:]: ext.sources = [ find_module_file(filename, moddirlist) for filename in ext.sources ]