mirror of https://github.com/mpv-player/mpv
Move ranlib setting to a more sensible place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21972 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2abbb9c863
commit
eca0abbc21
|
@ -678,6 +678,13 @@ if aix ; then
|
||||||
_ld_extra="$_ld_extra -lC"
|
_ld_extra="$_ld_extra -lC"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If IRIX we must use ar instead of ranlib (not present on IRIX systems)
|
||||||
|
if irix ; then
|
||||||
|
_ranlib='ar -r'
|
||||||
|
elif linux ; then
|
||||||
|
_ranlib='true'
|
||||||
|
fi
|
||||||
|
|
||||||
# Check how to call 'head' and 'tail'. Newer versions spit out warnings
|
# Check how to call 'head' and 'tail'. Newer versions spit out warnings
|
||||||
# if used as 'head -1' instead of 'head -n 1', but older versions don't
|
# if used as 'head -1' instead of 'head -n 1', but older versions don't
|
||||||
# know about '-n'.
|
# know about '-n'.
|
||||||
|
@ -2525,13 +2532,6 @@ die "no awk"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If IRIX we must use ar instead of ranlib (not present on IRIX systems)
|
|
||||||
if irix ; then
|
|
||||||
_ranlib='ar -r'
|
|
||||||
elif linux ; then
|
|
||||||
_ranlib='true'
|
|
||||||
fi
|
|
||||||
|
|
||||||
######################
|
######################
|
||||||
# MAIN TESTS GO HERE #
|
# MAIN TESTS GO HERE #
|
||||||
######################
|
######################
|
||||||
|
|
Loading…
Reference in New Issue