From 53e47d42f07e53f040ae68437f893032af3fea27 Mon Sep 17 00:00:00 2001 From: Alan Date: Sat, 3 Jun 2017 19:46:18 +0200 Subject: [PATCH] Set clang_type to CLANG_WIN on windows. --- mesonbuild/environment.py | 2 ++ 1 file changed, 2 insertions(+) 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