--- a/configure
+++ b/configure
@@ -2660,7 +2660,7 @@
     ;;
 esac
 
-case "$target" in
+case "" in
 *-android*|*-linuxandroid*)
     if test -z "$android_ndk" ; then
        as_fn_error $? "You must specify --with-android-ndk=/path/to/ndk when targeting Android." "$LINENO" 5