0004-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch 774 B

123456789101112131415161718192021222324252627
  1. From 449ac686b4c0f73bbbf0202c4a5689b5ddb37d53 Mon Sep 17 00:00:00 2001
  2. From: Vanya Sergeev <vsergeev@gmail.com>
  3. Date: Wed, 23 Dec 2015 11:30:33 +0100
  4. Subject: [PATCH] Disable buggy_getaddrinfo configure test when cross-compiling
  5. with IPv6 support
  6. Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
  7. ---
  8. configure.ac | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/configure.ac b/configure.ac
  11. index db0e336..f57f2eb 100644
  12. --- a/configure.ac
  13. +++ b/configure.ac
  14. @@ -3744,7 +3744,7 @@ fi
  15. AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
  16. -if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
  17. +if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
  18. then
  19. if test $ipv6 = yes
  20. then
  21. --
  22. 2.7.4