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],