remove static lib before building to make more bulletproof

This commit is contained in:
Bernardo Innocenti
2007-03-27 07:56:34 -06:00
committed by Brian
parent 63c57a14d3
commit a9455bb9a7

View File

@@ -216,6 +216,7 @@ case $ARCH in
echo "mklib: Making" $ARCH "static library: " ${LIBNAME}.a
LINK="ar"
OPTS="-ru"
rm -f ${LIBNAME}.a
# make lib
${LINK} ${OPTS} ${LIBNAME}.a ${OBJECTS}
ranlib ${LIBNAME}.a