[Android] Set a decent PATH on compile-libvlc.sh

Jean-Baptiste Kempf git at videolan.org
Wed Feb 4 20:51:53 CET 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb  4 20:51:35 2015 +0100| [6667cd51f3c3cde0b3e3bb0fd0cea945f9e5dfac] | committer: Jean-Baptiste Kempf

Set a decent PATH on compile-libvlc.sh

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=6667cd51f3c3cde0b3e3bb0fd0cea945f9e5dfac
---

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

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index dc46057..ba7eabd 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -193,6 +193,9 @@ fi
 echo "CFLAGS:            ${CFLAGS}"
 echo "EXTRA_CFLAGS:      ${EXTRA_CFLAGS}"
 
+
+ANDROID_BIN=`echo $ANDROID_NDK/toolchains/${PATH_HOST}-${GCCVER}/prebuilt/\`uname|tr A-Z a-z\`-*/bin/`
+export PATH=$ANDROID_BIN:$PATH
 ####################################################################################################
 
 cd vlc
@@ -299,7 +302,6 @@ mkdir -p build-android-${TARGET_TUPLE} && cd build-android-${TARGET_TUPLE}
 # CONFIGURE #
 #############
 
-ANDROID_BIN=`echo $ANDROID_NDK/toolchains/${PATH_HOST}-${GCCVER}/prebuilt/\`uname|tr A-Z a-z\`-*/bin/`
 CROSS_COMPILE=${ANDROID_BIN}/${TARGET_TUPLE}-
 
 CPPFLAGS="$CPPFLAGS" \



More information about the Android mailing list