diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2018-11-10 14:21:33 -0800 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2018-11-10 14:21:33 -0800 |
commit | 200468548759fb1504ad47ebd4d14d8231a44410 (patch) | |
tree | 4ff0eebd3bfcd42ad85e17fecc1346677c80900b /numpy/distutils/fcompiler/gnu.py | |
parent | d0e2f1ac0c0fb4aaf791c9082cff1d6b04545410 (diff) | |
download | numpy-200468548759fb1504ad47ebd4d14d8231a44410.tar.gz |
MAINT: update gfortran RPATH for AIX/Windows non-support.
Closes https://github.com/scipy/scipy/issues/9452
Diffstat (limited to 'numpy/distutils/fcompiler/gnu.py')
-rw-r--r-- | numpy/distutils/fcompiler/gnu.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py index f151809c7..0f7e48152 100644 --- a/numpy/distutils/fcompiler/gnu.py +++ b/numpy/distutils/fcompiler/gnu.py @@ -265,6 +265,10 @@ class GnuFCompiler(FCompiler): return [] def runtime_library_dir_option(self, dir): + if sys.platform[:3] == 'aix' or sys.platform == 'win32': + # Linux/Solaris/Unix support RPATH, Windows and AIX do not + raise NotImplementedError + sep = ',' if sys.platform == 'darwin' else '=' return '-Wl,-rpath%s"%s"' % (sep, dir) |