[Android] build: also force PKG_CONFIG_PATH or we might use some system headers

Steve Lhomme git at videolan.org
Fri Oct 21 15:24:52 CEST 2016


vlc-android | branch: master | Steve Lhomme <robux4 at videolabs.io> | Tue Oct 18 15:11:57 2016 +0200| [c0429771e090fbcad3909aaff86ad9d6add32226] | committer: Thomas Guillem

build: also force PKG_CONFIG_PATH or we might use some system headers

on msys it uses iconv.h from the system without that

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> https://code.videolan.org/videolan/vlc-android/commit/c0429771e090fbcad3909aaff86ad9d6add32226
---

 compile-libvlc.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index ebeb228..a4ab64c 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -572,6 +572,7 @@ STRIP="${CROSS_TOOLS}strip" \
 RANLIB="${CROSS_TOOLS}ranlib" \
 AR="${CROSS_TOOLS}ar" \
 PKG_CONFIG_LIBDIR=$VLC_SRC_DIR/contrib/$TARGET_TUPLE/lib/pkgconfig \
+PKG_CONFIG_PATH=$VLC_SRC_DIR/contrib/$TARGET_TUPLE/lib/pkgconfig \
 PATH=../contrib/bin:$PATH \
 sh ../configure --host=$TARGET_TUPLE --build=x86_64-unknown-linux \
     --with-contrib=${VLC_SRC_DIR}/contrib/${TARGET_TUPLE} \



More information about the Android mailing list