Mercurial > mplayer.hg
annotate darwinfixlib.sh @ 10055:2e6d63e564f2
We now check for "sip:" URLs - which are handled using the same LIVE.COM
code as "rtsp://" URLs.
author | rsf |
---|---|
date | Sat, 03 May 2003 06:14:04 +0000 |
parents | 184f37880f90 |
children |
rev | line source |
---|---|
5950
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
1 #!/bin/sh |
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
2 if [ `uname -s` = 'Darwin' ]; then |
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
3 echo "Fixing libs with ranlib for Darwin (MacOSX)" |
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
4 for i in $* ; do |
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
5 if (echo $i | grep \\.a) >/dev/null 2>&1; then |
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
6 echo "ranlib $i" |
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
7 (ranlib $i) >/dev/null 2>&1 |
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
8 fi |
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
9 done |
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
10 fi |
184f37880f90
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
atmos4
parents:
diff
changeset
|
11 exit 0 |