mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
MacOSX: fix rather dumb buglet that made it impossible to create extensions on
OSX 10.3 when using a binary distribution build on 10.4.
This commit is contained in:
parent
6dd59f1632
commit
7b9053a274
2 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ def _darwin_compiler_fixup(compiler_so, cc_args):
|
|||
try:
|
||||
index = compiler_so.index('-isysroot')
|
||||
# Strip this argument and the next one:
|
||||
del compiler_so[index:index+1]
|
||||
del compiler_so[index:index+2]
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue