diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-07-19 14:22:32 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-07-19 14:22:32 +0300 |
commit | f90d3c19fd00fe62c1b815357f76a5891f338ea4 (patch) | |
tree | 401ecc65ce49d36075b8e9148ea0e753ed64ab22 /mesonbuild/compilers/fortran.py | |
parent | c1fc55e6f6acf8289e673301be2c474e946ce305 (diff) | |
download | meson-useargsintests.tar.gz |
Use option args in find_library.useargsintests
Diffstat (limited to 'mesonbuild/compilers/fortran.py')
-rw-r--r-- | mesonbuild/compilers/fortran.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index d6e41e3bd..3d2441992 100644 --- a/mesonbuild/compilers/fortran.py +++ b/mesonbuild/compilers/fortran.py @@ -185,11 +185,11 @@ class FortranCompiler(Compiler): def find_library_impl(self, *args): return CCompiler.find_library_impl(self, *args) - def find_library(self, libname, env, extra_dirs, libtype='default'): + def find_library(self, libname, env, extra_dirs, extra_args, libtype='default'): code = '''program main call exit(0) end program main''' - return self.find_library_impl(libname, env, extra_dirs, code, libtype) + return self.find_library_impl(libname, env, extra_dirs, code, extra_args, libtype) def thread_flags(self, env): return CCompiler.thread_flags(self, env) |