]> granicus.if.org Git - python/commitdiff
Issue #14152: Restore the Include/*.h dependencies for extension builds.
authorStefan Krah <skrah@bytereef.org>
Wed, 29 Feb 2012 13:10:53 +0000 (14:10 +0100)
committerStefan Krah <skrah@bytereef.org>
Wed, 29 Feb 2012 13:10:53 +0000 (14:10 +0100)
setup.py

index 1318bc272c814359dc9e6372769737026680ece0..d69875cffba112eb85b26880cc901c4cc95fd5e1 100644 (file)
--- 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)