summaryrefslogtreecommitdiffstats
path: root/bin/mklib
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@develer.com>2007-03-27 07:56:34 -0600
committerBrian <brian@yutani.localnet.net>2007-03-27 07:56:34 -0600
commita9455bb9a7183b89d550998858e5079a9e07e5aa (patch)
tree6910d5e4b87098421290914001ec5c39982664d1 /bin/mklib
parent63c57a14d3e9419434bb9ee4d0c5c0d64f2e7847 (diff)
remove static lib before building to make more bulletproof
Diffstat (limited to 'bin/mklib')
-rwxr-xr-xbin/mklib1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/mklib b/bin/mklib
index 7d468b12e77..2ecabdddfcb 100755
--- 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