diff options
author | Greg Ward <gward@python.net> | 2000-03-29 04:13:49 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-03-29 04:13:49 (GMT) |
commit | 1d16a9f040aadbfff9a0628d185c44c4159ce0b3 (patch) | |
tree | 7d4a3472d4a3204a600aee2daf79a551ca2c3492 /Lib | |
parent | 41b4dd66c8a6c82ca6cad65c0557aadd269f6075 (diff) | |
download | cpython-1d16a9f040aadbfff9a0628d185c44c4159ce0b3.zip cpython-1d16a9f040aadbfff9a0628d185c44c4159ce0b3.tar.gz cpython-1d16a9f040aadbfff9a0628d185c44c4159ce0b3.tar.bz2 |
Put the Python "system" include dir last, rather than first.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/command/build_ext.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 7d88c06..96e7ce5 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -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) |