From: Steven Walters Date: Wed, 20 Jan 2010 17:00:54 +0000 (-0800) Subject: Use cross-prefix properly with pkg-config for cross-compiling X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=20fa784d2d9e0d5e524d4e3834699e9ff9b57511;p=x264.git Use cross-prefix properly with pkg-config for cross-compiling --- diff --git a/configure b/configure index c066a544..9f04a184 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