006-cross-compile-getaddrinfo.patch 618 B

123456789101112131415161718192021
  1. Disable buggy_getaddrinfo configure test when cross-compiling with IPv6 support
  2. Signed-off-by: Vanya Sergeev <vsergeev at gmail.com>
  3. ---
  4. configure.ac | 2 +-
  5. 1 file changed, 1 insertion(+), 1 deletion(-)
  6. Index: b/configure.ac
  7. ===================================================================
  8. --- a/configure.ac
  9. +++ b/configure.ac
  10. @@ -3432,7 +3432,7 @@
  11. AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
  12. -if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
  13. +if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
  14. then
  15. if test $ipv6 = yes
  16. then