clover: empty soversion when on win32

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7675
Cc: mesa-stable

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Prodea Alexandru-Liviu <liviuprodea@yahoo.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19653>
This commit is contained in:
Yonggang Luo
2022-11-11 00:45:56 +08:00
committed by Marge Bot
parent afb8308087
commit 14eef14147

View File

@@ -107,6 +107,7 @@ libopencl = shared_library(
],
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,
)