Commit eb2571cd authored by Greg Ward's avatar Greg Ward

Put the Python "system" include dir last, rather than first.

parent 6611eda8
......@@ -113,7 +113,9 @@ class build_ext (Command):
self.include_dirs = string.split (self.include_dirs,
os.pathsep)
self.include_dirs.insert (0, py_include)
# Put the Python "system" include dir at the end, so that
# any local include dirs take precedence.
self.include_dirs.append (py_include)
if exec_py_include != py_include:
self.include_dirs.insert (0, exec_py_include)
......
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