From 25e2c4d7841648c80ba973d1ed89d2150aca8f71 Mon Sep 17 00:00:00 2001 From: pal1000 Date: Tue, 2 Aug 2022 16:50:29 +0300 Subject: [PATCH] Microsoft clc: strip lib prefix Otherwise OpenCLon12 ICD can't load it Ref: https://github.com/microsoft/OpenCLOn12/search?q=clon12compiler Reviewed-by: Jesse Natalie Reviewed-by: Yonggang Luo Part-of: --- src/microsoft/clc/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/microsoft/clc/meson.build b/src/microsoft/clc/meson.build index 966c17b..a472192 100644 --- a/src/microsoft/clc/meson.build +++ b/src/microsoft/clc/meson.build @@ -30,7 +30,8 @@ libclc_compiler = shared_library( vs_module_defs : 'clon12compiler.def', include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_compiler, inc_gallium, inc_spirv], dependencies: [idep_clc, idep_nir_headers, dep_version, idep_mesautil, - idep_libdxil_compiler, idep_nir] + idep_libdxil_compiler, idep_nir], + name_prefix : '' # otherwise mingw will create libclon12compiler.dll ) if dep_dxheaders.found() -- 2.7.4