[x264-devel] Fix link errors with libswscale/libavutil as shared libraries

Steven Walters git at videolan.org
Sun Jul 10 06:11:02 CEST 2011


x264 | branch: master | Steven Walters <kemuri9 at gmail.com> | Thu Jun 23 20:29:01 2011 -0400| [3c78047c1136d0d205a5d26c733d2fed3f021652] | committer: Jason Garrett-Glaser

Fix link errors with libswscale/libavutil as shared libraries

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

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

diff --git a/configure b/configure
index d539afe..41f7a7c 100755
--- a/configure
+++ b/configure
@@ -717,8 +717,8 @@ fi
 if [ "$swscale" = "auto" ] ; then
     swscale="no"
     if ${cross_prefix}pkg-config --exists libswscale 2>/dev/null; then
-        SWSCALE_LIBS="$SWSCALE_LIBS $(${cross_prefix}pkg-config --libs libswscale)"
-        SWSCALE_CFLAGS="$SWSCALE_CFLAGS $(${cross_prefix}pkg-config --cflags libswscale)"
+        SWSCALE_LIBS="$SWSCALE_LIBS $(${cross_prefix}pkg-config --libs libswscale libavutil)"
+        SWSCALE_CFLAGS="$SWSCALE_CFLAGS $(${cross_prefix}pkg-config --cflags libswscale libavutil)"
     fi
     [ -z "$SWSCALE_LIBS" ] && SWSCALE_LIBS="-lswscale -lavutil"
 



More information about the x264-devel mailing list