diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-13 09:27:25 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | 99bb927a74bb0d0fdd836d8442d2595ebc5d054e (patch) | |
| tree | d53dc8733c161b3d27d1b11155dde77456e2a01c /mesonbuild/compilers/compilers.py | |
| parent | 15e054e9c3eb685e250f3a472644454375f6d5c0 (diff) | |
| download | meson-99bb927a74bb0d0fdd836d8442d2595ebc5d054e.tar.gz | |
compilers: Remove Environment parameter from Compiler.check_header
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 7f7a41ee7..732203c61 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -641,7 +641,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta): def get_option_link_args(self, target: 'BuildTarget', env: 'Environment', subproject: T.Optional[str] = None) -> T.List[str]: return self.linker.get_option_link_args(target, env, subproject) - def check_header(self, hname: str, prefix: str, env: 'Environment', *, + def check_header(self, hname: str, prefix: str, *, extra_args: T.Union[None, T.List[str], T.Callable[[CompileCheckMode], T.List[str]]] = None, dependencies: T.Optional[T.List['Dependency']] = None) -> T.Tuple[bool, bool]: """Check that header is usable. |
