don't try to include the library if we are building it.
This commit is contained in:
parent
35392d01b1
commit
7afc64e486
|
@ -1,8 +1,10 @@
|
|||
# $NetBSD: Makefile.inc,v 1.2 2020/01/12 21:27:43 christos Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 2020/01/17 16:50:51 christos Exp $
|
||||
|
||||
.include "${NETBSDSRCDIR}/external/bsd/pkg_install/Makefile.inc"
|
||||
|
||||
.if !defined(HOSTLIB)
|
||||
INSTALL_OBJDIR!= cd ${NETBSDSRCDIR}/tools/pkg_install/lib && ${PRINTOBJDIR}
|
||||
LDFLAGS+=-L${INSTALL_OBJDIR}
|
||||
LDADD+=-linstall
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue