view darwinfixlib.sh @ 6473:6c45b8bf9a3e

date: 2002/06/16 09:10:00; author: nickols_k; state: Exp; lines: +17 -13 fixed some DOS-memory leaks patch adopted from mpxp by Tibcu, this fixes vesaout crashes after playing multiple files.
author atmos4
date Fri, 21 Jun 2002 02:20:30 +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