From 09ddaffd9d47f0ef32d9798e87448b617c3a979d Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 6 Jun 2025 13:03:06 +0000 Subject: [PATCH] add back linking of libm and libpthread matches how meson links libgbm.so, though there the resulting library did not have NEEDED entries for libm and libpthread patch from jca@, tb@ confirms this unbreaks webkitgtk4 ports build --- lib/mesa/mk/libgbm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mesa/mk/libgbm/Makefile b/lib/mesa/mk/libgbm/Makefile index 5449f912c..d4ad0b0d6 100644 --- a/lib/mesa/mk/libgbm/Makefile +++ b/lib/mesa/mk/libgbm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2025/06/06 09:04:09 jsg Exp $ +# $OpenBSD: Makefile,v 1.13 2025/06/06 13:03:06 jsg Exp $ .include @@ -27,7 +27,7 @@ LDADD+= -Wl,--as-needed -Wl,--start-group \ ${.CURDIR}/../libmesa_util_c11/${__objdir}/libmesa_util_c11.a \ ${.CURDIR}/../libxmlconfig/${__objdir}/libxmlconfig.a \ -Wl,--gc-sections \ - -lz -lexpat -lxcb -lxcb-randr + -lz -lm -lexpat -lpthread -lxcb -lxcb-randr .if ${XENOCARA_BUILD_DRI:L} == "yes" LDADD+= -L${X11BASE}/lib -ldrm \