Skip to content

Commit

Permalink
ENH: reorder includes for system installations
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip authored and charris committed Aug 3, 2022
1 parent 2fdf3c7 commit 9d1d01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/testing/_private/extbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def compile_extension_module(
dirname = builddir / name
dirname.mkdir(exist_ok=True)
cfile = _convert_str_to_file(source_string, dirname)
include_dirs = [sysconfig.get_config_var('INCLUDEPY')] + include_dirs
include_dirs = include_dirs + [sysconfig.get_config_var('INCLUDEPY')]

return _c_compile(
cfile, outputfilename=dirname / modname,
Expand Down

0 comments on commit 9d1d01a

Please sign in to comment.