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:
Ronald Oussoren 2006-06-27 10:08:25 +00:00
parent 6dd59f1632
commit 7b9053a274
2 changed files with 2 additions and 2 deletions

View file

@ -512,7 +512,7 @@ def get_config_vars(*args):
for key in ('LDFLAGS', 'BASECFLAGS'):
flags = _config_vars[key]
flags = re.sub('-arch\s+\w+\s', ' ', flags)
flags = re.sub('-isysroot [^ \t]* ', ' ', flags)
flags = re.sub('-isysroot [^ \t]*', ' ', flags)
_config_vars[key] = flags
if args: