diff options
author | David Cournapeau <cournape@gmail.com> | 2009-09-09 00:51:59 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-09-09 00:51:59 +0000 |
commit | ce9f5ac0775c204234e888bad0fec56e69b04172 (patch) | |
tree | 31f0ffb250c49e529d58e39d1f0b83281334f8e9 /numpy/distutils/command/scons.py | |
parent | 680190a475b66b947dc906f76700990acd054498 (diff) | |
download | numpy-ce9f5ac0775c204234e888bad0fec56e69b04172.tar.gz |
BUG: we were protecting c++ and fortran compiler path twice, which made scons interpret the path as target.
Diffstat (limited to 'numpy/distutils/command/scons.py')
-rw-r--r-- | numpy/distutils/command/scons.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/command/scons.py b/numpy/distutils/command/scons.py index fef6b3e60..bdae5bde3 100644 --- a/numpy/distutils/command/scons.py +++ b/numpy/distutils/command/scons.py @@ -502,12 +502,12 @@ class scons(old_build_ext): if self.scons_fcompiler: cmd.append('f77_opt=%s' % self.scons_fcompiler) if self.scons_fcompiler_path: - cmd.append('f77_opt_path=%s' % protect_path(self.scons_fcompiler_path)) + cmd.append('f77_opt_path=%s' % self.scons_fcompiler_path) if self.scons_cxxcompiler: cmd.append('cxx_opt=%s' % self.scons_cxxcompiler) if self.scons_cxxcompiler_path: - cmd.append('cxx_opt_path=%s' % protect_path(self.scons_cxxcompiler_path)) + cmd.append('cxx_opt_path=%s' % self.scons_cxxcompiler_path) cmd.append('include_bootstrap=%s' % dirl_to_str(get_numpy_include_dirs(sconscript))) cmd.append('bypass=%s' % self.bypass) |