From a6c5dc07f46c21f3fab81ce44321239378c09548 Mon Sep 17 00:00:00 2001 From: Jesse Noller Date: Wed, 16 Jul 2008 13:24:06 +0000 Subject: Apply patch for issue 3090: ARCHFLAGS parsing incorrect --- Lib/distutils/unixccompiler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py index 6144efc..045368a 100644 --- a/Lib/distutils/unixccompiler.py +++ b/Lib/distutils/unixccompiler.py @@ -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: -- cgit v0.12