Skip to content
Snippets Groups Projects
Commit bfd2edeb authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

-ldl fix

Originally committed as revision 4480 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 47627aec
No related branches found
No related tags found
No related merge requests found
...@@ -457,7 +457,7 @@ for opt do ...@@ -457,7 +457,7 @@ for opt do
;; ;;
--enable-a52) a52="yes" --enable-a52) a52="yes"
;; ;;
--enable-a52bin) a52bin="yes" ; extralibs="$ldl $extralibs" --enable-a52bin) a52bin="yes"
;; ;;
--enable-dts) dts="yes" ; extralibs="$extralibs -ldts" --enable-dts) dts="yes" ; extralibs="$extralibs -ldts"
;; ;;
...@@ -1010,6 +1010,11 @@ if test "$vhook" = "default" ; then ...@@ -1010,6 +1010,11 @@ if test "$vhook" = "default" ; then
vhook="$dlopen" vhook="$dlopen"
fi fi
if test "$vhook" = "yes" -o "$a52bin" = "yes" -o "$faadbin" = "yes"; then
extralibs="$extralibs $ldl"
fi
########################################## ##########################################
# imlib probe # imlib probe
...@@ -1379,7 +1384,6 @@ fi ...@@ -1379,7 +1384,6 @@ fi
if test "$vhook" = "yes" ; then if test "$vhook" = "yes" ; then
echo "BUILD_VHOOK=yes" >> config.mak echo "BUILD_VHOOK=yes" >> config.mak
echo "#define HAVE_VHOOK 1" >> $TMPH echo "#define HAVE_VHOOK 1" >> $TMPH
extralibs="$extralibs $ldl"
fi fi
if test "$lshared" = "yes" ; then if test "$lshared" = "yes" ; then
echo "BUILD_SHARED=yes" >> config.mak echo "BUILD_SHARED=yes" >> config.mak
......
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