Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/pkg_install don't try to include the library if we are...



details:   https://anonhg.NetBSD.org/src/rev/960799476d07
branches:  trunk
changeset: 1006492:960799476d07
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 17 16:50:51 2020 +0000

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

diffstat:

 tools/pkg_install/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 6380db200fb4 -r 960799476d07 tools/pkg_install/Makefile.inc
--- a/tools/pkg_install/Makefile.inc    Fri Jan 17 16:50:03 2020 +0000
+++ b/tools/pkg_install/Makefile.inc    Fri Jan 17 16:50:51 2020 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index