About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/freedreno/vulkan/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedreno/vulkan/meson.build')
-rw-r--r--src/freedreno/vulkan/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/freedreno/vulkan/meson.build b/src/freedreno/vulkan/meson.build
index 7d02bc1389f..8218f8f3687 100644
--- a/src/freedreno/vulkan/meson.build
+++ b/src/freedreno/vulkan/meson.build
@@ -197,6 +197,8 @@ if with_symbols_check
)
endif
+icd_file_name = libname_prefix + 'vulkan_freedreno.' + libname_suffix
+
freedreno_icd = custom_target(
'freedreno_icd',
input : [vk_icd_gen, vk_api_xml],
@@ -206,7 +208,7 @@ freedreno_icd = custom_target(
'--api-version', '1.4', '--xml', '@INPUT1@',
'--sizeof-pointer', sizeof_pointer,
'--lib-path', join_paths(get_option('prefix'), get_option('libdir'),
- 'libvulkan_freedreno.so'),
+ icd_file_name),
'--out', '@OUTPUT@',
],
build_by_default : true,
@@ -224,7 +226,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_freedreno.so',
+ '--lib-path', meson.current_build_dir() / icd_file_name,
'--out', '@OUTPUT@',
],
build_by_default : true,