8000 Merge pull request #4996 from fdiary/gfortran-rpath · numpy/numpy@52d6c3d · GitHub
[go: up one dir, main page]

Skip to content

Commit 52d6c3d

Browse files
committed
Merge pull request #4996 from fdiary/gfortran-rpath
support rpath for GNU Fortran compiler.
2 parents 14e4cc3 + 79d3635 commit 52d6c3d

File tree

1 file changed

+3
-0
lines changed
  • numpy/distutils/fcompiler

1 file changed

+3
-0
lines changed

numpy/distutils/fcompiler/gnu.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ def _c_arch_flags(self):
220220
def get_flags_arch(self):
221221
return []
222222

223+
def runtime_library_dir_option(self, dir):
224+
return '-Wl,-rpath="%s"' % dir
225+
223226
class Gnu95FCompiler(GnuFCompiler):
224227
compiler_type = 'gnu95'
225228
compiler_aliases = ('gfortran',)

0 commit comments

Comments
 (0)
0