summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-07-27 10:13:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-07-27 10:13:13 +0000
commitbfd2edeb91890a96817bbc80162cde614a772a3a (patch)
treec21d0572ee1b318c6e84fa868c63bd4619fe3202
parent47627aec613106be39a462b9485c51c548da147e (diff)
-ldl fix
Originally committed as revision 4480 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index cf77f235f1..6d6d9c866b 100755
--- a/configure
+++ b/configure
@@ -457,7 +457,7 @@ for opt do
;;
--enable-a52) a52="yes"
;;
- --enable-a52bin) a52bin="yes" ; extralibs="$ldl $extralibs"
+ --enable-a52bin) a52bin="yes"
;;
--enable-dts) dts="yes" ; extralibs="$extralibs -ldts"
;;
@@ -1010,6 +1010,11 @@ if test "$vhook" = "default" ; then
vhook="$dlopen"
fi
+if test "$vhook" = "yes" -o "$a52bin" = "yes" -o "$faadbin" = "yes"; then
+ extralibs="$extralibs $ldl"
+fi
+
+
##########################################
# imlib probe
@@ -1379,7 +1384,6 @@ fi
if test "$vhook" = "yes" ; then
echo "BUILD_VHOOK=yes" >> config.mak
echo "#define HAVE_VHOOK 1" >> $TMPH
- extralibs="$extralibs $ldl"
fi
if test "$lshared" = "yes" ; then
echo "BUILD_SHARED=yes" >> config.mak