[Numpy-svn] r5368 - trunk/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Wed Jul 9 01:05:23 CDT 2008


Author: cdavid
Date: 2008-07-09 01:05:18 -0500 (Wed, 09 Jul 2008)
New Revision: 5368

Modified:
   trunk/numpy/distutils/ccompiler.py
Log:
Fix distutils issue on AIX with aix compilers.

Modified: trunk/numpy/distutils/ccompiler.py
===================================================================
--- trunk/numpy/distutils/ccompiler.py	2008-07-09 06:03:35 UTC (rev 5367)
+++ trunk/numpy/distutils/ccompiler.py	2008-07-09 06:05:18 UTC (rev 5368)
@@ -299,7 +299,7 @@
     cxx.compiler_so = [cxx.compiler_cxx[0]] + cxx.compiler_so[1:]
     if sys.platform.startswith('aix') and 'ld_so_aix' in cxx.linker_so[0]:
         # AIX needs the ld_so_aix script included with Python
-        cxx.linker_so = [cxx.linker_so[0]] + cxx.compiler_cxx[0] \
+        cxx.linker_so = [cxx.linker_so[0], cxx.compiler_cxx[0]] \
                         + cxx.linker_so[2:]
     else:
         cxx.linker_so = [cxx.compiler_cxx[0]] + cxx.linker_so[1:]



More information about the Numpy-svn mailing list