buildrootschalter/package/python/python-006-cross-compile-getaddrinfo.patch
Thomas Petazzoni 63c735b60a python: bump to version 2.7.8
The different patches are just refreshed to apply without fuzz, there
are no changes/conflicts.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-08 13:56:42 +02:00

14 lines
402 B
Diff

Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -3343,7 +3343,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