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.
This commit is contained in:
parent
08fa78f7f8
commit
6d1590abec
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue