Module: Mesa Branch: main Commit: bbd091d1fab20ac5df7db45d2bb12cf6bc94d304 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbd091d1fab20ac5df7db45d2bb12cf6bc94d304
Author: Bas Nieuwenhuizen <[email protected]> Date: Mon Oct 4 00:11:36 2021 +0200 radv: Always use linker script when possible. Also without LLVM. Useful for Android with statically linked libelf. Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13164> --- src/amd/vulkan/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build index 8c8a14de684..0c90a83491c 100644 --- a/src/amd/vulkan/meson.build +++ b/src/amd/vulkan/meson.build @@ -136,7 +136,7 @@ endif libvulkan_radeon_ld_args = [] libvulkan_radeon_link_depends = [] -if with_llvm and with_ld_version_script +if with_ld_version_script libvulkan_radeon_ld_args += ['-Wl,--version-script', join_paths(meson.current_source_dir(), 'vulkan.sym')] libvulkan_radeon_link_depends += files('vulkan.sym') endif
