mirror of https://github.com/mpv-player/mpv
Darwin needs to run ranlib on any static lib before linking, we do this in this script just before the final linking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5951 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
74c7dd3d84
commit
21e391d821
|
@ -0,0 +1,11 @@
|
|||
#!/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
|
Loading…
Reference in New Issue