meson,windows: Use relative paths in Vulkan ICD manifest files

See https://github.com/msys2/MINGW-packages/issues/16065

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27468>
This commit is contained in:
Luca Bacci
2024-02-05 16:01:00 +01:00
committed by Marge Bot
parent a1e3c93ff7
commit fe520ecfbf
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -246,7 +246,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 = join_paths(get_option('prefix'), get_option('bindir'))
icd_lib_path = import('fs').relative_to(get_option('bindir'), with_vulkan_icd_dir)
icd_file_name = 'vulkan_radeon.dll'
endif