view darwinfixlib.sh @ 9727:695825b70485

100l to Gabu, this caused divide-by-zero with -vo mga. Apparently someone only tested -vo xmga. Feel free to reenable if you can fix the sigfpe properly.
author rfelker
date Sat, 29 Mar 2003 19:56:31 +0000
parents 184f37880f90
children
line wrap: on
line source

#!/bin/sh
if [ `uname -s` = 'Darwin' ]; then
  echo "Fixing libs with ranlib for Darwin (MacOSX)"
  for i in $* ; do
    if (echo $i | grep \\.a) >/dev/null 2>&1; then
      echo "ranlib $i"
      (ranlib $i) >/dev/null 2>&1
    fi
  done
fi
exit 0