remove static lib before building to make more bulletproof
authorBernardo Innocenti <bernie@develer.com>
Tue, 27 Mar 2007 13:56:34 +0000 (07:56 -0600)
committerBrian <brian@yutani.localnet.net>
Tue, 27 Mar 2007 13:56:34 +0000 (07:56 -0600)
bin/mklib

index 7d468b12e77ed977b13e1ca99c105cfa682b7d5d..2ecabdddfcb08d3e283c3e884a8ac5251da0ccd2 100755 (executable)
--- a/bin/mklib
+++ b/bin/mklib
@@ -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