Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
68a4db26
Commit
68a4db26
authored
Jun 19, 2017
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Defensively copy include dirs list.
parent
cfa48aec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+2
-2
No files found.
Cython/Build/Dependencies.py
View file @
68a4db26
...
@@ -611,10 +611,10 @@ class DependencyTree(object):
...
@@ -611,10 +611,10 @@ class DependencyTree(object):
# Add include_dirs to ensure that the C compiler will find the
# Add include_dirs to ensure that the C compiler will find the
# "cdef extern from ..." files
# "cdef extern from ..." files
if
incdirs
:
if
incdirs
:
include_dirs
=
kwds
.
get
(
'include_dirs'
,
[]
)
include_dirs
=
list
(
kwds
.
get
(
'include_dirs'
,
[])
)
for
inc
in
incdirs
:
for
inc
in
incdirs
:
if
inc
not
in
include_dirs
:
if
inc
not
in
include_dirs
:
include_dirs
=
include_dirs
+
[
inc
]
include_dirs
.
append
(
inc
)
kwds
[
'include_dirs'
]
=
include_dirs
kwds
[
'include_dirs'
]
=
include_dirs
return
info
return
info
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment