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,