]> git.videolan.org Git - x264.git/commitdiff
Link x264cli explicitly against lavf
authorReinhard Tartler <siretart@tauware.de>
Wed, 10 Nov 2010 07:57:12 +0000 (23:57 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 10 Nov 2010 08:10:51 +0000 (00:10 -0800)
Fixes some problems with crappy linkers.

configure

index 1ad2b579cb7fe41a124e14f19de8e16bbfeac2b8..e6d7a207b4815d9d75f91001e0b1bdc4bd122147 100755 (executable)
--- a/configure
+++ b/configure
@@ -632,7 +632,9 @@ if [ "$ffms" = "yes" ]; then
     LDFLAGSCLI="$FFMS2_LIBS $LDFLAGSCLI"
     CFLAGS="$CFLAGS $FFMS2_CFLAGS"
     define HAVE_FFMS
-elif [ "$lavf" = "yes" ]; then
+fi
+
+if [ "$lavf" = "yes" ]; then
     LDFLAGSCLI="$LAVF_LIBS $LDFLAGSCLI"
     CFLAGS="$CFLAGS $LAVF_CFLAGS"
 elif [ "$swscale" = "yes" ]; then