configure.patch 301 B

123456789101112
  1. @@ -2662,6 +2662,9 @@
  2. case "$target" in
  3. *-android*|*-linuxandroid*)
  4. + $as_echo "#define ANDROID 1" >>confdefs.h
  5. + ;;
  6. + unreachable)
  7. if test -z "$android_ndk" ; then
  8. as_fn_error $? "You must specify --with-android-ndk=/path/to/ndk when targeting Android." "$LINENO" 5
  9. fi