diff options
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index ce037dd..03cd16e 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -1654,10 +1654,10 @@ class Environment: def get_scratch_dir(self) -> str: return self.scratch_dir - def detect_objc_compiler(self, for_machine: MachineInfo) -> 'Compiler': + def detect_objc_compiler(self, for_machine: MachineChoice) -> 'Compiler': return self._detect_objc_or_objcpp_compiler(for_machine, True) - def detect_objcpp_compiler(self, for_machine: MachineInfo) -> 'Compiler': + def detect_objcpp_compiler(self, for_machine: MachineChoice) -> 'Compiler': return self._detect_objc_or_objcpp_compiler(for_machine, False) def _detect_objc_or_objcpp_compiler(self, for_machine: MachineChoice, objc: bool) -> 'Compiler': |