[x264-devel] commit: Don't use pkgconfig when cross-compiling (Steven Walters )

git version control git at videolan.org
Thu Jan 21 05:44:12 CET 2010


x264 | branch: master | Steven Walters <kemuri9 at gmail.com> | Wed Jan 20 09:00:54 2010 -0800| [03af36892f72c9df58bb7fe5253784aa05eaed9c] | committer: Jason Garrett-Glaser 

Don't use pkgconfig when cross-compiling

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

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

diff --git a/configure b/configure
index c066a54..9f04a18 100755
--- a/configure
+++ b/configure
@@ -416,7 +416,7 @@ fi
 
 if [ "$lavf_input" = "auto" ] ; then
     lavf_input="no"
-    if [ `pkg-config --exists libavformat libavcodec libswscale 2>$DEVNULL` ] ; then
+    if [ `${cross_prefix}pkg-config --exists libavformat libavcodec libswscale 2>$DEVNULL` ] ; then
         LAVF_LDFLAGS="$LAVF_LDFLAGS $(pkg-config --libs libavformat libavcodec libswscale)"
         LAVF_CFLAGS="$LAVF_CFLAGS $(pkg-config --cflags libavformat libavcodec libswscale)"
     fi



More information about the x264-devel mailing list