From 4e1eb53b5e98cde1b248dd7f5771139c78e66047 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 3 Mar 2023 18:24:55 +0000 Subject: [PATCH] vn: add linker script to fix android symbols Signed-off-by: Eric Engestrom Reviewed-by: Yiwei Zhang Part-of: --- src/virtio/vulkan/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/virtio/vulkan/meson.build b/src/virtio/vulkan/meson.build index 3f9456a..761a619 100644 --- a/src/virtio/vulkan/meson.build +++ b/src/virtio/vulkan/meson.build @@ -114,7 +114,8 @@ libvulkan_virtio = shared_library( link_with : vn_libs, dependencies : [vn_deps], c_args : [vn_flags], - link_args : [ld_args_bsymbolic, ld_args_gc_sections], + link_args : [vulkan_icd_link_args, ld_args_bsymbolic, ld_args_gc_sections], + link_depends : vulkan_icd_link_depends, gnu_symbol_visibility : 'hidden', install : true, ) -- 2.7.4