Don't install ${LIB}_pic.a if NO_TOOLCHAIN

This commit is contained in:
Poul-Henning Kamp 2005-08-05 09:55:04 +00:00
parent 423987b6a5
commit 9c662f355f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148725

View File

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