Issue #14152: Restore the Include/*.h dependencies for extension builds.
This commit is contained in:
parent
682d37423d
commit
eb977dac9c
2
setup.py
2
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)
|
||||
|
|
Loading…
Reference in New Issue