From: Stefan Krah Date: Wed, 29 Feb 2012 13:10:53 +0000 (+0100) Subject: Issue #14152: Restore the Include/*.h dependencies for extension builds. X-Git-Tag: v3.3.0a1~28^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb977dac9cfd590982d08d1a9f7bae58498648ca;p=python Issue #14152: Restore the Include/*.h dependencies for extension builds. --- diff --git a/setup.py b/setup.py index 1318bc272c..d69875cffb 100644 --- a/setup.py +++ b/setup.py @@ -197,7 +197,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)