[x264-devel] commit: Link x264cli explicitly against lavf (Reinhard Tartler )

git at videolan.org git at videolan.org
Wed Nov 10 10:12:31 CET 2010


x264 | branch: master | Reinhard Tartler <siretart at tauware.de> | Tue Nov  9 23:57:12 2010 -0800| [17f54d05a46e0840f775be4635e6d32f6a4c9f78] | committer: Jason Garrett-Glaser 

Link x264cli explicitly against lavf
Fixes some problems with crappy linkers.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=17f54d05a46e0840f775be4635e6d32f6a4c9f78
---

 configure |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 1ad2b57..e6d7a20 100755
--- 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



More information about the x264-devel mailing list