Mesa (master): lavapipe: set empty dll prefix

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 25 03:54:44 UTC 2021


Module: Mesa
Branch: master
Commit: 951f328723894c029b71fd995b098d5a19a87a9e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=951f328723894c029b71fd995b098d5a19a87a9e

Author: Michel Zou <xantares09 at hotmail.com>
Date:   Tue Feb 23 09:28:25 2021 +0100

lavapipe: set empty dll prefix

Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7208>

---

 src/gallium/targets/lavapipe/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/targets/lavapipe/meson.build b/src/gallium/targets/lavapipe/meson.build
index 25ca3acffdc..164811833d4 100644
--- a/src/gallium/targets/lavapipe/meson.build
+++ b/src/gallium/targets/lavapipe/meson.build
@@ -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(



More information about the mesa-commit mailing list