From c67e60ae8fefaeadbe06bf0cbd8ad2ee267a6c0e Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Mon, 8 Aug 2022 01:57:34 +0800 Subject: [PATCH] meson: clc compiler test only works on win32 Signed-off-by: Yonggang Luo Acked-by: Jesse Natalie Part-of: --- src/microsoft/clc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microsoft/clc/meson.build b/src/microsoft/clc/meson.build index a472192c853..35e2fb38f78 100644 --- a/src/microsoft/clc/meson.build +++ b/src/microsoft/clc/meson.build @@ -34,7 +34,7 @@ libclc_compiler = shared_library( name_prefix : '' # otherwise mingw will create libclon12compiler.dll ) -if dep_dxheaders.found() +if dep_dxheaders.found() and host_machine.system() == 'windows' clc_compiler_test = executable('clc_compiler_test', ['clc_compiler_test.cpp', 'compute_test.cpp'], link_with : [libclc_compiler],