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 6ac7604..394b080 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -845,10 +845,10 @@ class Environment: def get_compiler_system_dirs(self, for_machine: MachineChoice): for comp in self.coredata.compilers[for_machine].values(): - if isinstance(comp, compilers.ClangCompiler): + if comp.id == 'clang': index = 1 break - elif isinstance(comp, compilers.GnuCompiler): + elif comp.id == 'gcc': index = 2 break else: |