[Android] compile-libvlc: contrib: set PKG_CONFIG_{PATH,LIBDIR}

Filip Roséen git at videolan.org
Wed Apr 12 14:59:27 CEST 2017


vlc-android | branch: master | Filip Roséen <filip at atch.se> | Wed Apr 12 14:55:05 2017 +0200| [83b0254462bd172d89252ad945223f2c0451d298] | committer: Geoffrey Métais

compile-libvlc: contrib: set PKG_CONFIG_{PATH,LIBDIR}

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

 compile-libvlc.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 11c3f43..2dbce81 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -524,7 +524,9 @@ which autopoint >/dev/null || make $MAKEFLAGS .gettext
 #export the PATH
 export PATH="$PATH:$PWD/../$TARGET_TUPLE/bin"
 # Make
-make $MAKEFLAGS
+PKG_CONFIG_PATH=$VLC_SRC_DIR/contrib/$TARGET_TUPLE/lib/pkgconfig \
+PKG_CONFIG_LIBDIR=$VLC_SRC_DIR/contrib/$TARGET_TUPLE/lib/pkgconfig \
+  make $MAKEFLAGS
 checkfail "contribs: make failed"
 
 cd ../../



More information about the Android mailing list