From 802d79c28045ecc55e26729ef7db70b6e42afb4d Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Wed, 9 Nov 2022 11:24:32 +0800 Subject: [PATCH] meson: Fixes name_prefix for clover on mingw Cc: mesa-stable Signed-off-by: Yonggang Luo Reviewed-by: Jesse Natalie Part-of: --- src/gallium/targets/opencl/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/targets/opencl/meson.build b/src/gallium/targets/opencl/meson.build index 6c36244a9d7..f22b71a1050 100644 --- a/src/gallium/targets/opencl/meson.build +++ b/src/gallium/targets/opencl/meson.build @@ -99,6 +99,7 @@ libopencl = shared_library( idep_mesautil, dep_clock, dep_dl, dep_unwind, dep_elf, dep_clang, dep_version ], + name_prefix : host_machine.system() == 'windows' ? '' : 'lib', # otherwise mingw will create libOpenCL-1.dll or libMesaOpenCL-1.dll version : '@0@.0.0'.format(opencl_version), soversion : host_machine.system() == 'windows' ? '' : opencl_version, install : true,