summaryrefslogtreecommitdiff
path: root/Lib/distutils/unixccompiler.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2006-06-27 10:08:25 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2006-06-27 10:08:25 +0000
commit7b9053a274308100d5849a57df3d9f44658130eb (patch)
treecac88119904c0d1a059c21ea536e155e52207c1c /Lib/distutils/unixccompiler.py
parent6dd59f1632fd174ffdd255acca4b596a69e1a5b4 (diff)
downloadcpython-git-7b9053a274308100d5849a57df3d9f44658130eb.tar.gz
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.
Diffstat (limited to 'Lib/distutils/unixccompiler.py')
-rw-r--r--Lib/distutils/unixccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py
index 324819d4a5..6cd14f7728 100644
--- a/Lib/distutils/unixccompiler.py
+++ b/Lib/distutils/unixccompiler.py
@@ -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