[x264-devel] commit: Fix compilation with shared ffmpeg libs (David Conrad )

git at videolan.org git at videolan.org
Fri Jul 16 01:01:51 CEST 2010


x264 | branch: stable | David Conrad <lessen42 at gmail.com> | Thu Jul 15 18:58:28 2010 -0400| [19df41a9476ddd3f8ef633df1116e13021078ec7] | committer: Jason Garrett-Glaser 

Fix compilation with shared ffmpeg libs
lavf input uses libavutil functions, so it must request flags for libavutil from pkg-config.

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

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

diff --git a/configure b/configure
index b6382f0..d8607f8 100755
--- a/configure
+++ b/configure
@@ -560,8 +560,8 @@ fi
 if [ "$lavf" = "auto" ] ; then
     lavf="no"
     if ${cross_prefix}pkg-config --exists libavformat libavcodec libswscale 2>$DEVNULL; then
-        LAVF_LIBS="$LAVF_LIBS $(${cross_prefix}pkg-config --libs libavformat libavcodec libswscale)"
-        LAVF_CFLAGS="$LAVF_CFLAGS $(${cross_prefix}pkg-config --cflags libavformat libavcodec libswscale)"
+        LAVF_LIBS="$LAVF_LIBS $(${cross_prefix}pkg-config --libs libavformat libavcodec libavutil libswscale)"
+        LAVF_CFLAGS="$LAVF_CFLAGS $(${cross_prefix}pkg-config --cflags libavformat libavcodec libavutil libswscale)"
     fi
     if [ -z "$LAVF_LIBS" -a -z "$LAVF_CFLAGS" ]; then
         LAVF_LIBS="-lavformat"



More information about the x264-devel mailing list