mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
meson: Fixes name_prefix for clover on mingw
Cc: mesa-stable Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19825>
This commit is contained in:
parent
2accd760fe
commit
802d79c280
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue