diff options
author | David Cournapeau <cournape@gmail.com> | 2008-07-09 06:05:18 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-07-09 06:05:18 +0000 |
commit | 89bdcf9a990f5aa44b9830ae366f3c02f7b5bd7a (patch) | |
tree | 706bad21d4c384171af9b80ed346bcf7fd6492da /numpy/distutils/ccompiler.py | |
parent | 0dffd02f017944c9ccfbdbe667a21fe27473a387 (diff) | |
download | numpy-89bdcf9a990f5aa44b9830ae366f3c02f7b5bd7a.tar.gz |
Fix distutils issue on AIX with aix compilers.
Diffstat (limited to 'numpy/distutils/ccompiler.py')
-rw-r--r-- | numpy/distutils/ccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py index f05ac5964..63f9744f7 100644 --- a/numpy/distutils/ccompiler.py +++ b/numpy/distutils/ccompiler.py @@ -299,7 +299,7 @@ def CCompiler_cxx_compiler(self): 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:] |