summaryrefslogtreecommitdiffstats
path: root/package/python/python-006-cross-compile-getaddrinfo.patch
blob: 2c8248f5ad70c8853003db154d8c9452d31cc61b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -3337,7 +3337,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