006-cross-compile-getaddrinfo.patch 402 B

12345678910111213
  1. Index: b/configure.ac
  2. ===================================================================
  3. --- a/configure.ac
  4. +++ b/configure.ac
  5. @@ -3353,7 +3353,7 @@
  6. AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
  7. -if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
  8. +if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
  9. then
  10. if test $ipv6 = yes
  11. then