diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2019-12-23 13:16:32 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2019-12-23 13:16:32 +0100 |
commit | 81dc220ce8d7d646a5a8cf0654566f79aeab46aa (patch) | |
tree | 1a5e3db8cb26ba0a4c39c5ea13d9f2e009724741 | |
parent | 1b7d2d823e64ba191a5b9324cfd2e0ef0191767a (diff) | |
download | cython-81dc220ce8d7d646a5a8cf0654566f79aeab46aa.tar.gz |
Prevent extension-local include directories from leaking into the build-global list.
-rw-r--r-- | Cython/Distutils/old_build_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Distutils/old_build_ext.py b/Cython/Distutils/old_build_ext.py index c82aa249c..062227eaa 100644 --- a/Cython/Distutils/old_build_ext.py +++ b/Cython/Distutils/old_build_ext.py @@ -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: |