diff --git a/src/gallium/targets/lavapipe/meson.build b/src/gallium/targets/lavapipe/meson.build index f410b444815..46e9d9a93e4 100644 --- a/src/gallium/targets/lavapipe/meson.build +++ b/src/gallium/targets/lavapipe/meson.build @@ -14,17 +14,17 @@ libvulkan_lvp = shared_library( install : true, ) +icd_lib_path = join_paths(get_option('prefix'), get_option('libdir')) 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_lib_path = join_paths(get_option('prefix'), get_option('bindir')) icd_file_name = 'vulkan_lvp.dll' 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@', ] if with_platform_windows