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>
(cherry picked from commit 14eef14147)
This commit is contained in:
Yonggang Luo
2022-11-11 00:45:56 +08:00
committed by Dylan Baker
parent aea456776c
commit bed2fd361c
2 changed files with 2 additions and 1 deletions

View File

@@ -328,7 +328,7 @@
"description": "clover: empty soversion when on win32",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View File

@@ -100,6 +100,7 @@ libopencl = shared_library(
dep_clock, dep_dl, dep_unwind, dep_elf, dep_clang, dep_version
],
version : '@0@.0.0'.format(opencl_version),
soversion : host_machine.system() == 'windows' ? '' : opencl_version,
install : true,
)