diff options
author | nia <nia@pkgsrc.org> | 2022-08-05 09:52:10 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-08-05 09:52:10 +0000 |
commit | cd2469288aebdf7eb89b8fa757b6e80e776b5613 (patch) | |
tree | 0bc56e533f3f3612aef8a227dba93d052858d224 /www | |
parent | 46bbde71a777c7857b9affb059ea4162f12b7ccd (diff) | |
download | pkgsrc-cd2469288aebdf7eb89b8fa757b6e80e776b5613.tar.gz |
firefox: Use dlopen.mk to detect the requirement of -ldl through the normal
pkgsrc infrastructure on more platforms than just NetBSD.
Diffstat (limited to 'www')
-rw-r--r-- | www/firefox/mozilla-common.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www/firefox/mozilla-common.mk b/www/firefox/mozilla-common.mk index a8f0f620606..2593c1d06b0 100644 --- a/www/firefox/mozilla-common.mk +++ b/www/firefox/mozilla-common.mk @@ -1,4 +1,4 @@ -# $NetBSD: mozilla-common.mk,v 1.236 2022/08/03 17:09:26 ryoon Exp $ +# $NetBSD: mozilla-common.mk,v 1.237 2022/08/05 09:52:10 nia Exp $ # # common Makefile fragment for mozilla packages based on gecko 2.0. # @@ -140,7 +140,8 @@ SUBST_SED.fix-libpci-soname+= -e 's,"libpci.so, "lib${PCIUTILS_LIBNAME}.so,' # Workaround for link of libxul.so as of 96.0. # There are too many -ldl under third_paty/libwebrtc. -BUILDLINK_TRANSFORM.NetBSD+= rm:-ldl +.include "../../mk/dlopen.buildlink3.mk" +BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q} CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess |