Commit 81dc220c authored by Stefan Behnel's avatar Stefan Behnel

Prevent extension-local include directories from leaking into the build-global list.

parent 1b7d2d82
......@@ -252,7 +252,7 @@ class old_build_ext(_build_ext.build_ext):
# 2. Add in any (unique) paths from the extension
# cython_include_dirs (if Cython.Distutils.extension is used).
# 3. Add in any (unique) paths from the extension include_dirs
includes = self.cython_include_dirs
includes = list(self.cython_include_dirs)
try:
for i in extension.cython_include_dirs:
if not i in includes:
......
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