Mercurial > mplayer.hg
comparison darwinfixlib.sh @ 5950:184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
author | atmos4 |
---|---|
date | Fri, 03 May 2002 19:23:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5949:142e0fa289d4 | 5950:184f37880f90 |
---|---|
1 #!/bin/sh | |
2 if [ `uname -s` = 'Darwin' ]; then | |
3 echo "Fixing libs with ranlib for Darwin (MacOSX)" | |
4 for i in $* ; do | |
5 if (echo $i | grep \\.a) >/dev/null 2>&1; then | |
6 echo "ranlib $i" | |
7 (ranlib $i) >/dev/null 2>&1 | |
8 fi | |
9 done | |
10 fi | |
11 exit 0 |