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 <jenatali@microsoft.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
(cherry picked from commit 25e2c4d784)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17886>
This commit is contained in:
pal1000 2022-08-02 16:50:29 +03:00 committed by Marge Bot
parent e35dd22c6d
commit 17faf33ab7

View file

@ -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()