From d35034b21bfdcbdb21853340ff983e908ada101f Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Tue, 23 Oct 2018 16:14:40 +0100 Subject: Use 'rc' resource compiler with clang-cl toolchain The LLVM toolchain doesn't come with a Windows resource compiler at the moment. Use 'rc' from the Windows SDK. --- mesonbuild/modules/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/modules/windows.py') diff --git a/mesonbuild/modules/windows.py b/mesonbuild/modules/windows.py index f0d5113..4d0f244 100644 --- a/mesonbuild/modules/windows.py +++ b/mesonbuild/modules/windows.py @@ -60,7 +60,7 @@ class WindowsModule(ExtensionModule): if not rescomp or not rescomp.found(): comp = self.detect_compiler(state.compilers) - if comp.id == 'msvc': + if comp.id == 'msvc' or comp.id == 'clang-cl': rescomp = ExternalProgram('rc', silent=True) else: rescomp = ExternalProgram('windres', silent=True) -- cgit v1.1