Don't install ${LIB}_pic.a if NO_TOOLCHAIN
This commit is contained in:
parent
f67cb9e323
commit
404af3a8b5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user