--- numpy/distutils/fcompiler/gnu.py.orig +++ numpy/distutils/fcompiler/gnu.py @@ -230,7 +230,7 @@ return [] def runtime_library_dir_option(self, dir): - return '-Wl,-rpath="%s"' % dir + return '-Wl,-rpath -Wl,"%s"' % dir class Gnu95FCompiler(GnuFCompiler): compiler_type = 'gnu95'