diff options
author | Måns Rullgård <mans@mansr.com> | 2005-11-29 21:12:30 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2005-11-29 21:12:30 +0000 |
commit | fd2ab74aae55e610daad7d4883131d1cb603dfbe (patch) | |
tree | 654fafbf7c5af6dfa504deb786678382ad33c5f4 | |
parent | 348e52c91ded1c242eeaaa05c20dac335d030853 (diff) | |
download | ffmpeg-fd2ab74aae55e610daad7d4883131d1cb603dfbe.tar.gz |
use $CFLAGS and $LDFLAGS in dlopen() check
Originally committed as revision 4710 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1030,12 +1030,12 @@ EOF ldl=-ldl -if $cc -o $TMPE $TMPC -ldl > /dev/null 2>&1 ; then +if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC -ldl > /dev/null 2>&1 ; then dlfcn=yes dlopen=yes fi -if $cc -o $TMPE $TMPC > /dev/null 2>&1 ; then +if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC > /dev/null 2>&1 ; then dlfcn=yes dlopen=yes ldl="" @@ -1045,11 +1045,11 @@ cat > $TMPC << EOF int main( void ) { return (int) dlopen("foo", 0); } EOF -if $cc -o $TMPE $TMPC -ldl > /dev/null 2>&1 ; then +if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC -ldl > /dev/null 2>&1 ; then dlopen=yes fi -if $cc -o $TMPE $TMPC > /dev/null 2>&1 ; then +if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC > /dev/null 2>&1 ; then dlopen=yes ldl="" fi |