don't try to include the library if we are building it.

is-mlppp
christos 2020-01-17 16:50:51 +00:00
parent 35392d01b1
commit 7afc64e486
1 changed files with 3 additions and 1 deletions

View File

@ -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