[Mplayer-cvslog] CVS: main darwinfixlib.sh,NONE,1.1

Atmosfear atmos4 at mplayerhq.hu
Fri May 3 21:23:18 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv22834

Added Files:
	darwinfixlib.sh 
Log Message:
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.


--- NEW FILE ---
#!/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




More information about the MPlayer-cvslog mailing list