Browse Source

cross compile fix by (allanc at chickenandporn dot com)

Originally committed as revision 3384 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 21 years ago
parent
commit
c2b9685eca
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      configure

+ 5
- 1
configure View File

@@ -799,7 +799,11 @@ EOF
have_lrintf="no"
if $cc $extralibs -o $TMPE $TMPC 2> /dev/null ; then
have_lrintf="yes"
$TMPE 2> /dev/null > /dev/null || have_lrintf="no"
# 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=


Loading…
Cancel
Save