lavapipe: set empty dll prefix
authorMichel Zou <xantares09@hotmail.com>
Tue, 23 Feb 2021 08:28:25 +0000 (09:28 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 25 Feb 2021 03:41:36 +0000 (03:41 +0000)
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7208>

src/gallium/targets/lavapipe/meson.build

index 25ca3ac..1648118 100644 (file)
@@ -15,6 +15,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',
   install : true,
 )
 
@@ -22,7 +23,7 @@ icd_file_name = 'libvulkan_lvp.so'
 module_dir = join_paths(get_option('prefix'), get_option('libdir'))
 if with_platform_windows
   module_dir = join_paths(get_option('prefix'), get_option('bindir'))
-  icd_file_name = 'libvulkan_lvp.dll'
+  icd_file_name = 'vulkan_lvp.dll'
 endif
 
 lvp_icd = custom_target(