summaryrefslogtreecommitdiff
path: root/command/build_ext.py
diff options
context:
space:
mode:
Diffstat (limited to 'command/build_ext.py')
-rw-r--r--command/build_ext.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/command/build_ext.py b/command/build_ext.py
index 158465d2..0428466b 100644
--- a/command/build_ext.py
+++ b/command/build_ext.py
@@ -161,9 +161,10 @@ class build_ext(Command):
# Put the Python "system" include dir at the end, so that
# any local include dirs take precedence.
- self.include_dirs.append(py_include)
+ self.include_dirs.extend(py_include.split(os.path.pathsep))
if plat_py_include != py_include:
- self.include_dirs.append(plat_py_include)
+ self.include_dirs.extend(
+ plat_py_include.split(os.path.pathsep))
self.ensure_string_list('libraries')
self.ensure_string_list('link_objects')