[Android] compile-libvlc: Fix ndk-build check

Hugo Beauzée-Luyssen git at videolan.org
Mon Oct 30 13:35:41 CET 2017


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Oct 30 12:05:55 2017 +0100| [29279daa4add0e204eb6249fcabd9b2814bd2191] | committer: Hugo Beauzée-Luyssen

compile-libvlc: Fix ndk-build check

> https://code.videolan.org/videolan/vlc-android/commit/29279daa4add0e204eb6249fcabd9b2814bd2191
---

 compile-libvlc.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 260f327ec..0e1d31441 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -878,6 +878,8 @@ $ANDROID_NDK/ndk-build$OSCMD -C libvlc \
     NDK_DEBUG=${NDK_DEBUG} \
     BUILD_ML=${BUILD_ML}
 
+checkfail "ndk-build failed"
+
 $ANDROID_NDK/ndk-build$OSCMD -C libvlc \
     APP_BUILD_SCRIPT=jni/loader/Android.mk \
     APP_PLATFORM=android-${ANDROID_API} \
@@ -901,9 +903,6 @@ $ANDROID_NDK/ndk-build$OSCMD -C libvlc \
 
 checkfail "ndk-build failed for private libs"
 
-
-checkfail "ndk-build failed"
-
 echo "Dumping dbg symbols info ${OUT_DBG_DIR}"
 
 cd ${SRC_DIR}



More information about the Android mailing list