[Android] compile-libvlc: set minimum NDK to 14

Thomas Guillem git at videolan.org
Wed Nov 8 18:04:41 CET 2017


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Nov  8 18:03:36 2017 +0100| [d9bc96c28cda550d420006181eafdc8ce2e5f16f] | committer: Thomas Guillem

compile-libvlc: set minimum NDK to 14

NDK13 is not building anymore due to last thread changes in medialibrary.

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

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

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index abee5c427..344bc3cb9 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -282,14 +282,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" -ge 13 ]; then
+if [ "$REL" -ge 14 ]; then
     if [ "${HAVE_64}" = 1 ];then
         ANDROID_API=21
     else
         ANDROID_API=9
     fi
 else
-    echo "You need the NDKv13 or later"
+    echo "You need the NDKv14 or later"
     exit 1
 fi
 



More information about the Android mailing list