Skip to content
Snippets Groups Projects
Commit 61c110fc authored by Patrice Bensoussan's avatar Patrice Bensoussan Committed by Diego Biurrun
Browse files

Fix lrintf detection when extra libs are not installed in a standard location.

patch by Patrice Bensoussan patrice = dot = bensoussan = at = gmail = dot = com

Originally committed as revision 4658 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3702300c
No related branches found
No related tags found
No related merge requests found
...@@ -985,7 +985,7 @@ int main( void ) { return (lrintf(3.999f) > 0)?0:1; } ...@@ -985,7 +985,7 @@ int main( void ) { return (lrintf(3.999f) > 0)?0:1; }
EOF EOF
have_lrintf="no" have_lrintf="no"
if $cc $extralibs -o $TMPE $TMPC 2> /dev/null ; then if $cc $CFLAGS $LDFLAGS $extralibs -o $TMPE $TMPC 2> /dev/null ; then
have_lrintf="yes" have_lrintf="yes"
# allanc@chickenandporn.com: cannot execute cross-compiled # allanc@chickenandporn.com: cannot execute cross-compiled
# code on the host. Only execute if not cross-compiling. # code on the host. Only execute if not cross-compiling.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment