aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2014-06-14 18:57:42 +1200
committerJonathan Marshall <jmarshall@xbmc.org>2014-06-14 19:42:52 +1200
commitea60f8ca3700d600583ed67a4360de51e01f86f4 (patch)
tree188bfcc4cc7027fd6081d9d21ee22307cae1702b /tools
parent999accdd71802a2c3cb62db1fc9ab688c7990e56 (diff)
[android] fix extraction of ndk version for 64bit ndk
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/configure.in b/tools/depends/configure.in
index fe9c27d8bf..da7ccbc5ce 100644
--- a/tools/depends/configure.in
+++ b/tools/depends/configure.in
@@ -381,7 +381,7 @@ if test "$platform_os" == "android"; then
if ! test -f "$use_ndk/RELEASE.TXT" ; then
AC_MSG_ERROR("$use_ndk is not an NDK directory")
fi
- use_ndk_ver=0x`cat $use_ndk/RELEASE.TXT | sed 's/^r\([0-9]\+\)\b/r\10/' | sed 's/^r\(.*\)\b.*/\1/'`
+ use_ndk_ver=0x`cat $use_ndk/RELEASE.TXT | sed 's/^r\([[0-9a-z]]\+\)\b.*/\1/'`
if test -z $use_sdk_path; then
AC_MSG_ERROR("SDK path is required for android")