Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
364819cc
Commit
364819cc
authored
Oct 08, 2006
by
Ronald Oussoren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport of r52236
parent
ab8b0e57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
unixccompiler.py
unixccompiler.py
+16
-0
No files found.
unixccompiler.py
View file @
364819cc
...
...
@@ -82,6 +82,22 @@ def _darwin_compiler_fixup(compiler_so, cc_args):
except
ValueError
:
pass
# Check if the SDK that is used during compilation actually exists,
# the universal build requires the usage of a universal SDK and not all
# users have that installed by default.
sysroot
=
None
if
'-isysroot'
in
cc_args
:
idx
=
cc_args
.
index
(
'-isysroot'
)
sysroot
=
cc_args
[
idx
+
1
]
elif
'-isysroot'
in
compiler_so
:
idx
=
compiler_so
.
index
(
'-isysroot'
)
sysroot
=
compiler_so
[
idx
+
1
]
if
sysroot
and
not
os
.
path
.
isdir
(
sysroot
):
log
.
warn
(
"Compiling with an SDK that doesn't seem to exist: %s"
,
sysroot
)
log
.
warn
(
"Please check your Xcode installation"
)
return
compiler_so
class
UnixCCompiler
(
CCompiler
):
...
...
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