8000 BLD: support rpath for GNU Fortran compiler. · numpy/numpy@79d3635 · GitHub
[go: up one dir, main page]

Skip to content

Commit 79d3635

Browse files
fdiaryjuliantaylor
authored andcommitted
BLD: support rpath for GNU Fortran compiler.
1 parent 040d040 commit 79d3635

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