Unbreak build with just the NDK without a 64-bit add-on tool-chain

Change-Id: I05c558b557cf083feb570f8ac14ecb75c1c21eb6
This commit is contained in:
Tor Lillqvist
2013-01-02 23:58:51 +02:00
parent c27e334661
commit 2ed074578b

View File

@@ -159,7 +159,7 @@ if test -n "$with_android_ndk"; then
if test $build_os = linux-gnu; then
case $build_cpu in
x86_64)
case "`echo $ANDROID_NDK_HOME/toolchains/$android_cpu*-*$with_android_ndk_toolchain_version/prebuilt/linux-x86_64/bin`" in
case "`ls -d $ANDROID_NDK_HOME/toolchains/$android_cpu*-*$with_android_ndk_toolchain_version/prebuilt/linux-x86_64/bin 2>/dev/null`" in
*/bin|*/bin\ */bin*)
toolchain_system=linux-x86_64
;;