python-pyasn: bump to version 1.6.0b1
[buildroot-gz.git] / package / python3 / 0004-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch
blob183d6b300f1819dfea520b98ed6b6d6fa7041d7b
1 From 093caf46b7a742ee2f7bcf617a915ac1653aa8ac 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
7 Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
8 ---
9 configure.ac | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/configure.ac b/configure.ac
13 index 66d4642..c492594 100644
14 --- a/configure.ac
15 +++ b/configure.ac
16 @@ -3662,7 +3662,7 @@ fi
18 AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
20 -if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
21 +if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
22 then
23 if test $ipv6 = yes
24 then
25 --
26 2.6.4