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

Thomas Guillem git at videolan.org
Thu Nov 9 18:19:39 CET 2017


vlc-android | branch: 2.5.x | Thomas Guillem <thomas at gllm.fr> | Wed Nov  8 18:03:36 2017 +0100| [cb824c6b0f9858726460104e8a0b69f491320e75] | committer: Geoffrey Métais

compile-libvlc: set minimum NDK to 14

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

(cherry picked from commit d9bc96c28cda550d420006181eafdc8ce2e5f16f)

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

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

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index b447e61aa..32a6f5009 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -281,14 +281,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