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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb977dac9cfd590982d08d1a9f7bae58498648ca;p=thirdparty%2FPython%2Fcpython.git Issue #14152: Restore the Include/*.h dependencies for extension builds. --- diff --git a/setup.py b/setup.py index 1318bc272c81..d69875cffba1 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)