lavapipe: set empty dll prefix

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7208>
This commit is contained in:
Michel Zou 2021-02-23 09:28:25 +01:00 committed by Marge Bot
parent e8d63375d2
commit 951f328723

View file

@ -15,6 +15,7 @@ libvulkan_lvp = shared_library(
gnu_symbol_visibility : 'hidden', gnu_symbol_visibility : 'hidden',
link_args : [ld_args_bsymbolic, ld_args_gc_sections], link_args : [ld_args_bsymbolic, ld_args_gc_sections],
dependencies : driver_swrast, dependencies : driver_swrast,
name_prefix : host_machine.system() == 'windows' ? '' : 'lib',
install : true, install : true,
) )
@ -22,7 +23,7 @@ icd_file_name = 'libvulkan_lvp.so'
module_dir = join_paths(get_option('prefix'), get_option('libdir')) module_dir = join_paths(get_option('prefix'), get_option('libdir'))
if with_platform_windows if with_platform_windows
module_dir = join_paths(get_option('prefix'), get_option('bindir')) module_dir = join_paths(get_option('prefix'), get_option('bindir'))
icd_file_name = 'libvulkan_lvp.dll' icd_file_name = 'vulkan_lvp.dll'
endif endif
lvp_icd = custom_target( lvp_icd = custom_target(