Commit 9dc5145a authored by michael's avatar michael

cross compile fix by (allanc at chickenandporn dot com)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3384 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9880de44
......@@ -799,7 +799,11 @@ EOF
have_lrintf="no"
if $cc $extralibs -o $TMPE $TMPC 2> /dev/null ; then
have_lrintf="yes"
# allanc@chickenandporn.com: cannot execute cross-compiled
# code on the host. Only execute if not cross-compiling.
if test -z "$cross_prefix" ; then
$TMPE 2> /dev/null > /dev/null || have_lrintf="no"
fi
fi
_restrict=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment