diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-13 11:32:09 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | b44846c0f287a6fa2205b0b0df2b6c97607b6ada (patch) | |
| tree | 67c638b0b2f33ee563018f840be398f2ef8730b4 /mesonbuild/compilers/mixins/gnu.py | |
| parent | 37cbcf98092d17f69e035dced79097e1acf56919 (diff) | |
| download | meson-b44846c0f287a6fa2205b0b0df2b6c97607b6ada.tar.gz | |
compilers: Remove Environment parameter from CLikeCompiler.get_compiler_dirs
Diffstat (limited to 'mesonbuild/compilers/mixins/gnu.py')
| -rw-r--r-- | mesonbuild/compilers/mixins/gnu.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/compilers/mixins/gnu.py b/mesonbuild/compilers/mixins/gnu.py index c08bce0d5..2a83ae5a5 100644 --- a/mesonbuild/compilers/mixins/gnu.py +++ b/mesonbuild/compilers/mixins/gnu.py @@ -23,7 +23,6 @@ if T.TYPE_CHECKING: from ..._typing import ImmutableListProtocol from ...build import BuildTarget from ...options import MutableKeyedOptionDictType - from ...environment import Environment from ..compilers import Compiler else: # This is a bit clever, for mypy we pretend that these mixins descend from @@ -482,7 +481,7 @@ class GnuLikeCompiler(Compiler, metaclass=abc.ABCMeta): result.append(unresolved) return result - def get_compiler_dirs(self, env: 'Environment', name: str) -> T.List[str]: + def get_compiler_dirs(self, name: str) -> T.List[str]: ''' Get dirs from the compiler, either `libraries:` or `programs:` ''' |
