diff options
author | Alan <erlentob@stud.ntnu.no> | 2017-06-03 19:46:18 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-03 23:45:59 +0300 |
commit | 53e47d42f07e53f040ae68437f893032af3fea27 (patch) | |
tree | 5ff890f9c77720382c03b12da9a110636a49fa4a /mesonbuild/environment.py | |
parent | fb4ab84491922fca38ba1e533882857e4e3737a6 (diff) | |
download | meson-53e47d42f07e53f040ae68437f893032af3fea27.zip meson-53e47d42f07e53f040ae68437f893032af3fea27.tar.gz meson-53e47d42f07e53f040ae68437f893032af3fea27.tar.bz2 |
Set clang_type to CLANG_WIN on windows.
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 2 |
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 |