summaryrefslogtreecommitdiff
path: root/mk/dlopen.buildlink3.mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-04-27 15:02:37 +0000
committertron <tron@pkgsrc.org>2007-04-27 15:02:37 +0000
commit6d1590abecd9c5a9465aa33b958eccf181f76f0f (patch)
tree4c37caf7a4000e49dc80c736de29bc792f561b3c /mk/dlopen.buildlink3.mk
parent08fa78f7f8b950ed5a99a57bc43adcbc330db901 (diff)
downloadpkgsrc-6d1590abecd9c5a9465aa33b958eccf181f76f0f.tar.gz
Set "BUILDLINK_LDFLAGS.dl" to "${BUILDLINK_LDFLAGS.dlcompat}" if we are
using the "dlcompat" package under Mac OS X. Another attempt to fix PR pkg/36086.
Diffstat (limited to 'mk/dlopen.buildlink3.mk')
-rw-r--r--mk/dlopen.buildlink3.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/dlopen.buildlink3.mk b/mk/dlopen.buildlink3.mk
index dad2fcf5600..5060aebc504 100644
--- a/mk/dlopen.buildlink3.mk
+++ b/mk/dlopen.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: dlopen.buildlink3.mk,v 1.13 2007/02/10 08:59:07 rillig Exp $
+# $NetBSD: dlopen.buildlink3.mk,v 1.14 2007/04/27 15:02:37 tron Exp $
#
# This Makefile fragment is included by package Makefiles and
# buildlink3.mk files for the packages that use dlopen().
@@ -24,6 +24,7 @@ BUILDLINK_AUTO_VARS.dl= ${DL_AUTO_VARS}
.elif !empty(MACHINE_PLATFORM:MDarwin-[56].*)
. include "../../devel/dlcompat/buildlink3.mk"
BUILDLINK_AUTO_VARS.dlcompat= ${DL_AUTO_VARS}
+BUILDLINK_LDFLAGS.dl:= ${BUILDLINK_LDFLAGS.dlcompat}
.else
PKG_FAIL_REASON= "${PKGNAME} requires a working dlopen()."
.endif