summaryrefslogtreecommitdiffstats
path: root/package/python/006-cross-compile-getaddrinfo.patch
blob: dd44ec15586c742813e7e7b58f89f9751ef9c388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -3353,7 +3353,7 @@
 
 AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
 
-if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
+if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
 then
 	if test $ipv6 = yes
 	then
OpenPOWER on IntegriCloud