mirror of
https://github.com/mpv-player/mpv
synced 2025-01-22 07:33:14 +00:00
darwin ldd support patch by Steven M. Schultz <sms@2BSD.COM>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9981 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0f7903dfce
commit
3b929613b5
6
configure
vendored
6
configure
vendored
@ -35,7 +35,7 @@ cc_check() {
|
|||||||
TMP="$?"
|
TMP="$?"
|
||||||
echo >> "$TMPLOG"
|
echo >> "$TMPLOG"
|
||||||
echo "ldd $TMPO" >> "$TMPLOG"
|
echo "ldd $TMPO" >> "$TMPLOG"
|
||||||
( ldd "$TMPO" ) >> "$TMPLOG" 2>&1
|
( $_ldd "$TMPO" ) >> "$TMPLOG" 2>&1
|
||||||
echo >> "$TMPLOG"
|
echo >> "$TMPLOG"
|
||||||
return "$TMP"
|
return "$TMP"
|
||||||
}
|
}
|
||||||
@ -458,6 +458,10 @@ if freebsd ; then
|
|||||||
_inc_extra="$_inc_extra -I/usr/local/include"
|
_inc_extra="$_inc_extra -I/usr/local/include"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
_ldd=ldd
|
||||||
|
if darwin; then
|
||||||
|
_ldd="otool -L"
|
||||||
|
fi
|
||||||
|
|
||||||
# Checking CC version...
|
# Checking CC version...
|
||||||
if test "$_skip_cc_check" != yes ; then
|
if test "$_skip_cc_check" != yes ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user