diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build index fa22034053f..dd31c4c1839 100644 --- a/src/amd/vulkan/meson.build +++ b/src/amd/vulkan/meson.build @@ -200,7 +200,7 @@ libvulkan_radeon = shared_library( ], link_depends : [libvulkan_radeon_link_depends,], gnu_symbol_visibility : 'hidden', - name_prefix : host_machine.system() == 'windows' ? '' : 'lib', + name_prefix : host_machine.system() == 'windows' ? '' : [], install : true, ) diff --git a/src/gallium/targets/lavapipe/meson.build b/src/gallium/targets/lavapipe/meson.build index d221cbb2a38..c69c8fbe161 100644 --- a/src/gallium/targets/lavapipe/meson.build +++ b/src/gallium/targets/lavapipe/meson.build @@ -10,7 +10,7 @@ libvulkan_lvp = shared_library( gnu_symbol_visibility : 'hidden', link_args : [ld_args_bsymbolic, ld_args_gc_sections], dependencies : driver_swrast, - name_prefix : host_machine.system() == 'windows' ? '' : 'lib', + name_prefix : host_machine.system() == 'windows' ? '' : [], install : true, ) diff --git a/src/gallium/targets/opencl/meson.build b/src/gallium/targets/opencl/meson.build index 962fb2559bf..8e3ca0d47e2 100644 --- a/src/gallium/targets/opencl/meson.build +++ b/src/gallium/targets/opencl/meson.build @@ -109,7 +109,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 + name_prefix : host_machine.system() == 'windows' ? '' : [], # 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, diff --git a/src/gallium/targets/osmesa/meson.build b/src/gallium/targets/osmesa/meson.build index 024bac32b58..f5b8288ac5e 100644 --- a/src/gallium/targets/osmesa/meson.build +++ b/src/gallium/targets/osmesa/meson.build @@ -57,7 +57,7 @@ libosmesa = shared_library( dependencies : [ dep_ws2_32, dep_selinux, dep_thread, dep_clock, dep_unwind, driver_swrast ], - name_prefix : host_machine.system() == 'windows' ? '' : 'lib', # otherwise mingw will create libosmesa.dll + name_prefix : host_machine.system() == 'windows' ? '' : [], # otherwise mingw will create libosmesa.dll soversion : host_machine.system() == 'windows' ? '' : '8', version : '8.0.0', darwin_versions : '9.0.0', diff --git a/src/microsoft/vulkan/meson.build b/src/microsoft/vulkan/meson.build index 47882d27577..39c6faf70de 100644 --- a/src/microsoft/vulkan/meson.build +++ b/src/microsoft/vulkan/meson.build @@ -89,7 +89,7 @@ libvulkan_dzn = shared_library( cpp_args : dzn_cpp_flags, gnu_symbol_visibility : 'hidden', link_args : [ld_args_bsymbolic, ld_args_gc_sections], - name_prefix : host_machine.system() == 'windows' ? '' : 'lib', + name_prefix : host_machine.system() == 'windows' ? '' : [], install : true, )