Unbreak on ld.bfd arches, disable -Wl,--as-needed

ok kmos@ sthen@
This commit is contained in:
jmatthew 2022-11-03 22:29:01 +00:00
parent dcee12d61e
commit 57870caaae
1 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,13 @@ MODMESON_CONFIGURE_ARGS += -Ddisable-utf8proc=yes \
-Dwith-perl=yes \
-Dwith-proxy=yes
# disable meson's default of using "-Wl,--as-needed" on ld.bfd arches;
# build failures due to undefined references are often seen.
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mlld}
MODMESON_CONFIGURE_ARGS += -Db_asneeded=false
.endif
RUN_DEPENDS-otr = net/irssi,-main
LIB_DEPENDS-otr = devel/glib2>=2.28.0 \
security/libgcrypt>=1.2.0 \