open-plc-utils: new package
[buildroot-gz.git] / package / python / 006-cross-compile-getaddrinfo.patch
blobba6e6f0a05d3c5b0ef435afb7b5c1610658fe5db
1 Index: b/configure.ac
2 ===================================================================
3 --- a/configure.ac
4 +++ b/configure.ac
5 @@ -3346,7 +3346,7 @@
7 AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
9 -if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
10 +if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
11 then
12 if test $ipv6 = yes
13 then