view darwinfixlib.sh @ 9551:d447d6403faf

- removed unused global 'handle' - added __builtin_delete() for cook (rp9 version at least) - use OpenCodec2 when avaialble, 2nd param is codecpath (traced from rp8) - fallback to i_bps=12000 when raGetFlavorProperty(1) fails (some rp9 cook flavors) - disabled dlclose, caused memcorruption (FIXME) inspired by bugreports/patches by Balatoni Denes <pnis@coder.hu>
author arpi
date Sun, 09 Mar 2003 17:17:39 +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