Commit 4666ebd8 authored by Stefan Krah's avatar Stefan Krah

Issue #14152: backport fix.

parent ca666245
...@@ -186,7 +186,7 @@ class PyBuildExt(build_ext): ...@@ -186,7 +186,7 @@ class PyBuildExt(build_ext):
# Python header files # Python header files
headers = [sysconfig.get_config_h_filename()] 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[:]: for ext in self.extensions[:]:
ext.sources = [ find_module_file(filename, moddirlist) ext.sources = [ find_module_file(filename, moddirlist)
for filename in ext.sources ] for filename in ext.sources ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment