[Android] build: switch to NDK18

Thomas Guillem git at videolan.org
Tue Oct 23 17:26:48 CEST 2018


vlc-android | branch: 4.0 | Thomas Guillem <thomas at gllm.fr> | Tue Oct 23 11:02:59 2018 +0200| [b75996f1f68c949ecf5838f1b8cd3a17aa29fcce] | committer: Thomas Guillem

build: switch to NDK18

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

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

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 23a0e5c24..8398f1b72 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -274,14 +274,14 @@ VLC_CONTRIB="$VLC_SRC_DIR/contrib/$TARGET_TUPLE"
 # try to detect NDK version
 REL=$(grep -o '^Pkg.Revision.*[0-9]*.*' $ANDROID_NDK/source.properties |cut -d " " -f 3 | cut -d "." -f 1)
 
-if [ "$REL" -eq 17 ]; then
+if [ "$REL" -eq 18 ]; then
     if [ "${HAVE_64}" = 1 ]; then
         ANDROID_API=21
     else
         ANDROID_API=17
     fi
 else
-    echo "NDK v17 needed, cf. https://developer.android.com/ndk/downloads/older_releases.html"
+    echo "NDK v18 needed, cf. https://developer.android.com/ndk/downloads/"
     exit 1
 fi
 



More information about the Android mailing list