c530883b44d6a794ccf2a64ebe9c4941b5de6974
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python3 / 006-cross-compile-getaddrinfo.patch
1 Disable buggy_getaddrinfo configure test when cross-compiling with IPv6 support
2
3 Signed-off-by: Vanya Sergeev <vsergeev at gmail.com>
4
5 ---
6  configure.ac |    2 +-
7  1 file changed, 1 insertion(+), 1 deletion(-)
8
9 Index: b/configure.ac
10 ===================================================================
11 --- a/configure.ac
12 +++ b/configure.ac
13 @@ -3432,7 +3432,7 @@
14  
15  AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
16  
17 -if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
18 +if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
19  then
20         if test $ipv6 = yes
21         then