Issue #14152: Merge fix from 3.2.

This commit is contained in:
Stefan Krah 2012-02-29 14:14:00 +01:00
commit 0a971f18cc

View File

@ -195,7 +195,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)