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

git version control git at videolan.org
Thu Jan 21 05:48:02 CET 2010


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

Don't use pkgconfig when cross-compiling

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

 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