[Android] Support NDK r8 compilation

Jean-Baptiste Kempf git at videolan.org
Thu May 3 18:09:20 CEST 2012


android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu May  3 15:27:07 2012 +0200| [cd587a89a4c4731b78ba9c39cdf5857e2fb6e464] | committer: Jean-Baptiste Kempf

Support NDK r8 compilation

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=cd587a89a4c4731b78ba9c39cdf5857e2fb6e464
---

 compile.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compile.sh b/compile.sh
index 5635fbd..0e50ff6 100755
--- a/compile.sh
+++ b/compile.sh
@@ -27,7 +27,7 @@ fi
 
 if [ -z "$NO_NDK_V7" ]; then
     # try to detect NDK version
-    REL=$(grep "r7" $ANDROID_NDK/RELEASE.TXT)
+    REL=$(grep -e "r[78]" $ANDROID_NDK/RELEASE.TXT)
     if [ -z $REL ]; then
         export NO_NDK_V7=1
     fi



More information about the Android mailing list