dzn: rename module_dir to icd_lib_path for consistence

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 16:42:32 +08:00
committed by Marge Bot
parent a144f3f80c
commit c8e14d5d47
+3 -3
View File
@@ -94,9 +94,9 @@ libvulkan_dzn = shared_library(
)
icd_file_name = 'libvulkan_dzn.so'
module_dir = join_paths(get_option('prefix'), get_option('libdir'))
icd_lib_path = join_paths(get_option('prefix'), get_option('libdir'))
if with_platform_windows
module_dir = join_paths(get_option('prefix'), get_option('bindir'))
icd_lib_path = join_paths(get_option('prefix'), get_option('bindir'))
icd_file_name = 'vulkan_dzn.dll'
endif
@@ -104,7 +104,7 @@ endif
icd_command = [
prog_python, '@INPUT0@',
'--api-version', '1.1', '--xml', '@INPUT1@',
'--lib-path', join_paths(module_dir, icd_file_name),
'--lib-path', join_paths(icd_lib_path, icd_file_name),
'--out', '@OUTPUT@',
]