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
This commit is contained in:
jsg
2025-06-06 13:03:06 +00:00
parent 96c5582a05
commit 09ddaffd9d

View File

@@ -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 <bsd.xconf.mk>
@@ -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 \