build: use ar s flag to avoid ranlib

This commit is contained in:
Russ Cox 2007-11-05 11:27:14 -05:00
parent eb5d2a54d5
commit 50808670fc
5 changed files with 14 additions and 14 deletions

View file

@ -1,8 +1,7 @@
#!/bin/sh
ar "$@"
case "`uname`" in
Darwin)
ranlib -c $2
;;
esac
# We used to run ranlib if uname = Darwin,
# but the mkfiles now pass the s flag to 9ar,
# so ranlib should be unnecessary even there.