Correct spelling mistake with BUILDLINK_LDADD.dl and it can only be used in
a conditional after the inclusion of bsd.pkg.mk.
This commit is contained in:
parent
6b2daacc68
commit
0877e8e473
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2012/02/04 10:24:37 obache Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2012/02/05 09:24:19 sbd Exp $
|
||||
#
|
||||
|
||||
DISTNAME= bml-0.5.0
|
||||
|
@ -28,8 +28,8 @@ LDFLAGS+= -li386 # for i386_set_ldt
|
|||
.endif
|
||||
|
||||
.include "../../mk/dlopen.buildlink3.mk"
|
||||
.if empty(BUILDLINK_LDADD.ldl)
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
||||
.if empty(BUILDLINK_LDADD.dl)
|
||||
BUILDLINK_TRANSFORM+= rm:-ldl
|
||||
.endif
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue