diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2021-07-30 11:07:03 -0700 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-09-25 00:18:22 +0300 |
| commit | 64c267c49c785a204730ca28141f1fe34bc1827a (patch) | |
| tree | ca841d7940372425d499f955c06519aa1216b6f0 /mesonbuild/compilers/compilers.py | |
| parent | fee5cb697c77156f0dec4264ce846dd0d4f84fd5 (diff) | |
| download | meson-64c267c49c785a204730ca28141f1fe34bc1827a.tar.gz | |
compilers: Add default search path stdlib_only_link_flags
This should be done in all cases of language_stdlib_only_link_flags, but
I don't have access to all of the compilers to test it.
This is required in cases where object files created by gfortran are
linked using another compiler with a differen default search path, such
as gfortran and clang together.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
| -rw-r--r-- | mesonbuild/compilers/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index de5e4725d..6896b76d9 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -893,7 +893,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta): def openmp_link_flags(self) -> T.List[str]: return self.openmp_flags() - def language_stdlib_only_link_flags(self) -> T.List[str]: + def language_stdlib_only_link_flags(self, env: 'Environment') -> T.List[str]: return [] def gnu_symbol_visibility_args(self, vistype: str) -> T.List[str]: |
