Originally committed as revision 4480 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2005/07/27 19:13:13... | ... |
@@ -457,7 +457,7 @@ for opt do |
457 | 457 |
;; |
458 | 458 |
--enable-a52) a52="yes" |
459 | 459 |
;; |
460 |
- --enable-a52bin) a52bin="yes" ; extralibs="$ldl $extralibs" |
|
460 |
+ --enable-a52bin) a52bin="yes" |
|
461 | 461 |
;; |
462 | 462 |
--enable-dts) dts="yes" ; extralibs="$extralibs -ldts" |
463 | 463 |
;; |
... | ... |
@@ -1010,6 +1010,11 @@ if test "$vhook" = "default" ; then |
1010 | 1010 |
vhook="$dlopen" |
1011 | 1011 |
fi |
1012 | 1012 |
|
1013 |
+if test "$vhook" = "yes" -o "$a52bin" = "yes" -o "$faadbin" = "yes"; then |
|
1014 |
+ extralibs="$extralibs $ldl" |
|
1015 |
+fi |
|
1016 |
+ |
|
1017 |
+ |
|
1013 | 1018 |
########################################## |
1014 | 1019 |
# imlib probe |
1015 | 1020 |
|
... | ... |
@@ -1379,7 +1384,6 @@ fi |
1379 | 1379 |
if test "$vhook" = "yes" ; then |
1380 | 1380 |
echo "BUILD_VHOOK=yes" >> config.mak |
1381 | 1381 |
echo "#define HAVE_VHOOK 1" >> $TMPH |
1382 |
- extralibs="$extralibs $ldl" |
|
1383 | 1382 |
fi |
1384 | 1383 |
if test "$lshared" = "yes" ; then |
1385 | 1384 |
echo "BUILD_SHARED=yes" >> config.mak |