diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-10-23 15:13:08 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-11-04 15:42:06 +0000 |
commit | bb0bbfc2abad8925425f13775f2ee514f76ee069 (patch) | |
tree | 0e8249a7311c96f6636462642fbdfc509b461ffb /run_unittests.py | |
parent | d35034b21bfdcbdb21853340ff983e908ada101f (diff) | |
download | meson-bb0bbfc2abad8925425f13775f2ee514f76ee069.zip meson-bb0bbfc2abad8925425f13775f2ee514f76ee069.tar.gz meson-bb0bbfc2abad8925425f13775f2ee514f76ee069.tar.bz2 |
Adjust more tests which need to know compiler type
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py index 474b87a..5fbc34c 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -2449,7 +2449,7 @@ recommended as it is not supported on some platforms''') testdirlib = os.path.join(testdirbase, 'lib') extra_args = None env = get_fake_env(testdirlib, self.builddir, self.prefix) - if env.detect_c_compiler(False).get_id() != 'msvc': + if env.detect_c_compiler(False).get_id() not in ['msvc', 'clang-cl']: # static libraries are not linkable with -l with msvc because meson installs them # as .a files which unix_args_to_native will not know as it expects libraries to use # .lib as extension. For a DLL the import library is installed as .lib. Thus for msvc |