hplip: needs dynamic library
[buildroot-gz.git] / package / python / 006-cross-compile-getaddrinfo.patch
blobdd44ec15586c742813e7e7b58f89f9751ef9c388
1 Index: b/configure.ac
2 ===================================================================
3 --- a/configure.ac
4 +++ b/configure.ac
5 @@ -3353,7 +3353,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