diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index bf584721a..7c83ed675 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -481,6 +481,8 @@ class Environment: if 'clang' in out: if 'Apple' in out or for_darwin(want_cross, self): cltype = CLANG_OSX + elif 'windows' in out or for_windows(want_cross, self): + cltype = CLANG_WIN else: cltype = CLANG_STANDARD cls = ClangCCompiler if lang == 'c' else ClangCPPCompiler