view darwinfixlib.sh @ 7378:9fb2113b4869

- gui version of mplayer is using the audio 'control' function before(!) the audio-out module is initialized. As a workaround, initialize the audio device pathnames in the control function, otherwise the mixer does not work in gmplayer. - gui: Add support for left/right balance to the sun audio driver
author jkeil
date Thu, 12 Sep 2002 12:56:05 +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