Apply patch for issue 3090: ARCHFLAGS parsing incorrect

This commit is contained in:
Jesse Noller 2008-07-16 13:24:06 +00:00
parent 64b7e501f4
commit a6c5dc07f4
1 changed files with 1 additions and 2 deletions

View File

@ -76,8 +76,7 @@ def _darwin_compiler_fixup(compiler_so, cc_args):
if 'ARCHFLAGS' in os.environ and not stripArch:
# User specified different -arch flags in the environ,
# see also distutils.sysconfig
compiler_so = compiler_so + ' ' + os.environ['ARCHFLAGS']
compiler_so = compiler_so + os.environ['ARCHFLAGS'].split()
if stripSysroot:
try: