diff options
Diffstat (limited to 'src/panfrost/vulkan/meson.build')
| -rw-r--r-- | src/panfrost/vulkan/meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/panfrost/vulkan/meson.build b/src/panfrost/vulkan/meson.build index 7a109533f00..7005885670b 100644 --- a/src/panfrost/vulkan/meson.build +++ b/src/panfrost/vulkan/meson.build @@ -236,6 +236,8 @@ if with_symbols_check ) endif +icd_file_name = libname_prefix + 'vulkan_panfrost.' + libname_suffix + panfrost_icd = custom_target( 'panfrost_icd', input : [vk_icd_gen, vk_api_xml], @@ -245,7 +247,7 @@ panfrost_icd = custom_target( '--api-version', '1.4', '--xml', '@INPUT1@', '--sizeof-pointer', sizeof_pointer, '--lib-path', join_paths(get_option('prefix'), get_option('libdir'), - 'libvulkan_panfrost.so'), + icd_file_name), '--out', '@OUTPUT@', ], build_by_default : true, @@ -263,7 +265,7 @@ _dev_icd = custom_target( prog_python, '@INPUT0@', '--api-version', '1.4', '--xml', '@INPUT1@', '--sizeof-pointer', sizeof_pointer, - '--lib-path', meson.current_build_dir() / 'libvulkan_panfrost.so', + '--lib-path', meson.current_build_dir() / icd_file_name, '--out', '@OUTPUT@', ], build_by_default : true, |