summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-08-05 09:55:04 +0000
committerphk <phk@FreeBSD.org>2005-08-05 09:55:04 +0000
commit404af3a8b5f464a6aeb8755af56a8d45142f5bd5 (patch)
tree8046867d4edd1a1c2a3a62b9a69732c9886265f7
parentf67cb9e32350ef572b0a9276fdb74c7fb09e697f (diff)
downloadFreeBSD-src-404af3a8b5f464a6aeb8755af56a8d45142f5bd5.zip
FreeBSD-src-404af3a8b5f464a6aeb8755af56a8d45142f5bd5.tar.gz
Don't install ${LIB}_pic.a if NO_TOOLCHAIN
-rw-r--r--share/mk/bsd.lib.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 3bddd7e..c60c133 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -145,7 +145,7 @@ ${SHLIB_NAME}: ${SOBJS}
`lorder ${SOBJS} | tsort -q` ${LDADD}
.endif
-.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB)
+.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && !defined(NO_TOOLCHAIN)
_LIBS+= lib${LIB}_pic.a
lib${LIB}_pic.a: ${SOBJS}
@@ -232,7 +232,7 @@ _libinstall:
.endif
.endif
.endif
-.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB)
+.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && !defined(NO_TOOLCHAIN)
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR}
.endif
OpenPOWER on IntegriCloud