From db72a90efc7612b6f507acf8d2606b921a54da34 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 4 Sep 2020 11:27:58 +0000 Subject: [PATCH] link with version script matching meson changes in 20.1.7 --- lib/mesa/mk/libvulkan_radeon/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/mesa/mk/libvulkan_radeon/Makefile b/lib/mesa/mk/libvulkan_radeon/Makefile index 0b636d135..4e1e474c5 100644 --- a/lib/mesa/mk/libvulkan_radeon/Makefile +++ b/lib/mesa/mk/libvulkan_radeon/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/28 16:07:19 jsg Exp $ +# $OpenBSD: Makefile,v 1.3 2020/09/04 11:27:58 jsg Exp $ LIB= vulkan_radeon @@ -127,7 +127,8 @@ LDADD+= -L${X11BASE}/lib -ldrm -ldrm_amdgpu \ -lX11 -lxcb-dri2 -lxcb-present -lxcb-sync \ -lxshmfence -LDADD+= ${BUILD_ID_SHA1} -Wl,--gc-sections \ +LDADD+= -Wl,--gc-sections \ + -Wl,--version-script ${MESA_SRC}/src/amd/vulkan/vulkan.sym \ -Wl,--end-group all: lib${LIB}.so