diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-06-17 01:29:13 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-06-17 01:29:13 +0000 |
commit | 50c3420064ef7e4fc479dc28e6a746a960fdbd3f (patch) | |
tree | 219dd7e731ff9fc72d8122f5c4b3ed7c8db7b1fa /lib/mesa/mk | |
parent | 74e86ab161bf311d4753ef973d81d3bc330593eb (diff) |
libvtn is now required where libmesa is used
Fixes missing symbols at runtime on macppc.
Reported and tested by Donovan Watteau.
Diffstat (limited to 'lib/mesa/mk')
-rw-r--r-- | lib/mesa/mk/libOSMesa/Makefile | 5 | ||||
-rw-r--r-- | lib/mesa/mk/libgallium_dri/Makefile | 9 |
2 files changed, 6 insertions, 8 deletions
diff --git a/lib/mesa/mk/libOSMesa/Makefile b/lib/mesa/mk/libOSMesa/Makefile index f118bfe64..56e57b8f5 100644 --- a/lib/mesa/mk/libOSMesa/Makefile +++ b/lib/mesa/mk/libOSMesa/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2023/03/03 06:32:18 jsg Exp $ +# $OpenBSD: Makefile,v 1.9 2024/06/17 01:29:12 jsg Exp $ LIB= OSMesa @@ -34,7 +34,8 @@ SLIBS= libmesa \ libcompiler \ libgallium \ libws_null \ - libsoftpipe + libsoftpipe \ + libvtn .if ${WITH_SSE41} == "yes" SLIBS+= libmesa_sse41 diff --git a/lib/mesa/mk/libgallium_dri/Makefile b/lib/mesa/mk/libgallium_dri/Makefile index aa9b6c03a..0296e22ab 100644 --- a/lib/mesa/mk/libgallium_dri/Makefile +++ b/lib/mesa/mk/libgallium_dri/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2024/04/03 22:10:09 jsg Exp $ +# $OpenBSD: Makefile,v 1.11 2024/06/17 01:29:12 jsg Exp $ LIB= gallium_dri @@ -92,11 +92,8 @@ SLIBS= libdri \ libwsw \ libswdri \ libswkmsdri \ - libsoftpipe - -.if ${WITH_AMD_VK} == "yes" || ${WITH_INTEL_VK} == "yes" -SLIBS+= libvtn -.endif + libsoftpipe \ + libvtn .if ${WITH_SSE41} == "yes" SLIBS+= libmesa_sse41 |