Skip to content

Commit eb977da

Browse files
committed
Issue python#14152: Restore the Include/*.h dependencies for extension builds.
1 parent 682d374 commit eb977da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def build_extensions(self):
197197

198198
# Python header files
199199
headers = [sysconfig.get_config_h_filename()]
200-
headers += glob(os.path.join(sysconfig.get_path('platinclude'), "*.h"))
200+
headers += glob(os.path.join(sysconfig.get_path('include'), "*.h"))
201201

202202
for ext in self.extensions[:]:
203203
ext.sources = [ find_module_file(filename, moddirlist)

0 commit comments

Comments
 (0)