mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
use $CFLAGS and $LDFLAGS in dlopen() check
Originally committed as revision 4710 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
348e52c91d
commit
fd2ab74aae
8
configure
vendored
8
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user