summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-09-04 11:27:59 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-09-04 11:27:59 +0000
commit4564d167d884ff08839f1e0306f71e02dc0a6c77 (patch)
tree25c8c6ca45d1363b88c35be5665f2a0a96a6a0a6 /lib
parent7991e34e639661b8ba04ffcbc9c0450bd5d6e529 (diff)
link with version script matching meson changes in 20.1.7
Diffstat (limited to 'lib')
-rw-r--r--lib/mesa/mk/libvulkan_radeon/Makefile5
1 files 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