radv: Getting radeon_icd to be generated properly on win32

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18747>
This commit is contained in:
Yonggang Luo 2022-09-22 11:58:57 +08:00 committed by Marge Bot
parent d68e74955c
commit a144f3f80c

View file

@ -188,6 +188,7 @@ libvulkan_radeon = shared_library(
],
link_depends : [libvulkan_radeon_link_depends,],
gnu_symbol_visibility : 'hidden',
name_prefix : host_machine.system() == 'windows' ? '' : 'lib',
install : true,
)
@ -208,7 +209,7 @@ endif
icd_lib_path = join_paths(get_option('prefix'), get_option('libdir'))
icd_file_name = 'libvulkan_radeon.so'
if with_platform_windows
icd_lib_path = '.'
icd_lib_path = join_paths(get_option('prefix'), get_option('bindir'))
icd_file_name = 'vulkan_radeon.dll'
endif