Issue #14152: backport fix.
This commit is contained in:
parent
ca666245e7
commit
4666ebd8fa
2
setup.py
2
setup.py
|
@ -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 ]
|
||||||
|
|
Loading…
Reference in New Issue