aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/environment.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index bf58472..7c83ed6 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