Commit 6667cd51 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Set a decent PATH on compile-libvlc.sh

parent cb5dc127
...@@ -193,6 +193,9 @@ fi ...@@ -193,6 +193,9 @@ fi
echo "CFLAGS: ${CFLAGS}" echo "CFLAGS: ${CFLAGS}"
echo "EXTRA_CFLAGS: ${EXTRA_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 cd vlc
...@@ -299,7 +302,6 @@ mkdir -p build-android-${TARGET_TUPLE} && cd build-android-${TARGET_TUPLE} ...@@ -299,7 +302,6 @@ mkdir -p build-android-${TARGET_TUPLE} && cd build-android-${TARGET_TUPLE}
# CONFIGURE # # CONFIGURE #
############# #############
ANDROID_BIN=`echo $ANDROID_NDK/toolchains/${PATH_HOST}-${GCCVER}/prebuilt/\`uname|tr A-Z a-z\`-*/bin/`
CROSS_COMPILE=${ANDROID_BIN}/${TARGET_TUPLE}- CROSS_COMPILE=${ANDROID_BIN}/${TARGET_TUPLE}-
CPPFLAGS="$CPPFLAGS" \ CPPFLAGS="$CPPFLAGS" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment