hasvk: add missing linker arguments
vulkan_icd_link_args was added for other vulkan drivers but not hasvk. Without it, statically linked json-c symbols are wrongly exported. Ref:2b1e9b0fd6
("anv: add linker script to fix android symbols") Fixes:78578a6ddb
("vk: move radv's linker symbols scripts for use in all drivers") Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27540>
This commit is contained in:
@@ -199,7 +199,9 @@ libvulkan_intel_hasvk = shared_library(
|
||||
],
|
||||
c_args : anv_flags,
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
link_args : [ld_args_build_id, ld_args_bsymbolic, ld_args_gc_sections],
|
||||
link_args : [vulkan_icd_link_args, ld_args_build_id,
|
||||
ld_args_bsymbolic, ld_args_gc_sections],
|
||||
link_depends : vulkan_icd_link_depends,
|
||||
install : true,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user