[Android] Fix build when vlc is a symlink

Rafaël Carré git at videolan.org
Sat Apr 6 14:56:32 CEST 2013


vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Tue Apr  2 15:03:17 2013 +0200| [8b842747a3e1fbb33200eb4871522477a9c7330c] | committer: Rafaël Carré

Fix build when vlc is a symlink

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

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

diff --git a/compile.sh b/compile.sh
index b19060b..c6874cb 100755
--- a/compile.sh
+++ b/compile.sh
@@ -77,6 +77,8 @@ export PLATFORM_SHORT_ARCH
 NDK_TOOLCHAIN_PATH=`echo ${ANDROID_NDK}/toolchains/${PATH_HOST}-${GCCVER}/prebuilt/\`uname|tr A-Z a-z\`-*/bin`
 export PATH=${NDK_TOOLCHAIN_PATH}:${PATH}
 
+ANDROID_PATH="`pwd`"
+
 # 1/ libvlc, libvlccore and its plugins
 TESTED_HASH=e8dc8779b
 if [ ! -d "vlc" ]; then
@@ -210,7 +212,7 @@ else
     echo "Bootstraping"
     ../bootstrap
     echo "Configuring"
-    ../../configure.sh $OPTS
+    ${ANDROID_PATH}/configure.sh $OPTS
 fi
 
 echo "Building"



More information about the Android mailing list