view darwinfixlib.sh @ 8137:530d1c5f0c78

Switch containing options for DirectFB library was renamed to dfbopts. Layer selection is done as "subdevice" - integer nuber after -vo directfb: where -1 is autodetection and 0,1,2... are for layers example: mplayer -vo directfb:2 -dfbopts matrox-crtc2,matrox-tv-standard=pal *.avi
author arpi
date Sun, 10 Nov 2002 13:57:42 +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