Delete old .a file before creating a new one.
This commit is contained in:
parent
ecbc8123b7
commit
73fcbc7356
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ ${STATIC_LIB} ${STATIC_LIB_NOINST}: ${EXT_DEPS} ${OBJS}
|
|||
|
||||
${STATIC_PIC_LIB} ${STATIC_PIC_LIB_NOINST}: ${EXT_DEPS} ${LIB_OBJS}
|
||||
${LINK_STATUS}
|
||||
rm -f $@
|
||||
if ${AR} cr $@ ${LIB_OBJS} && ${RANLIB} $@; then \
|
||||
${LINK_OK}; \
|
||||
else \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue