diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-05-24 10:40:38 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-06-01 22:49:10 -0400 |
commit | d553748b60612188fdd42808a7b33183678f4348 (patch) | |
tree | aed4eb993fa47f120019240dd8d63b11fa70923c /mesonbuild/compilers | |
parent | 39ba552811b89c1b164ae8ef27c67c6253aa9441 (diff) | |
download | meson-d553748b60612188fdd42808a7b33183678f4348.zip meson-d553748b60612188fdd42808a7b33183678f4348.tar.gz meson-d553748b60612188fdd42808a7b33183678f4348.tar.bz2 |
compiler: Add missing needs_static_linker to base Compiler class
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 34f9a09..03c1199 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1270,6 +1270,9 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta): """Arguments to completely disable warnings.""" return [] + def needs_static_linker(self) -> bool: + raise NotImplementedError(f'There is no static linker for {self.language}') + def get_global_options(lang: str, comp: T.Type[Compiler], |