[Android] [PATCH 5/6] compile./sh: also boostrap/configure with --jni

Thomas Guillem tom at gllm.fr
Tue Oct 21 11:48:42 CEST 2014


---
 compile.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/compile.sh b/compile.sh
index 1953264..6d42be9 100755
--- a/compile.sh
+++ b/compile.sh
@@ -328,14 +328,14 @@ if [ "$JNI" = 1 ]; then
     TARGET="vlc-android/obj/local/${ANDROID_ABI}/libvlcjni.so"
 else
     CLEAN="distclean"
-    if [ ! -f config.h ]; then
-        echo "Bootstraping"
-        ../bootstrap
-        echo "Configuring"
-        ${ANDROID_PATH}/configure.sh $OPTS
-    fi
     TARGET=
 fi
+if [ ! -f config.h ]; then
+    echo "Bootstraping"
+    ../bootstrap
+    echo "Configuring"
+    ${ANDROID_PATH}/configure.sh $OPTS
+fi
 
 # ANDROID NDK FIXUP (BLAME GOOGLE)
 config_undef ()
-- 
2.1.0



More information about the Android mailing list