diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-13 09:54:10 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | eb8ae929d97a060dac28b4a339e7c1df8d3118c8 (patch) | |
| tree | fbdd583223488584e3ac2956f68b5e119b858d93 /mesonbuild/compilers/compilers.py | |
| parent | 2768f41817732b1f6484bc6fec3dfdaf70dcc485 (diff) | |
| download | meson-eb8ae929d97a060dac28b4a339e7c1df8d3118c8.tar.gz | |
compilers: Remove Environment parameter from Compiler.get_define
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 4e807b0db..cdb928822 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -547,7 +547,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta): def get_default_suffix(self) -> str: return self.default_suffix - def get_define(self, dname: str, prefix: str, env: 'Environment', + def get_define(self, dname: str, prefix: str, extra_args: T.Union[T.List[str], T.Callable[[CompileCheckMode], T.List[str]]], dependencies: T.List['Dependency'], disable_cache: bool = False) -> T.Tuple[str, bool]: |
