Browse Source

python: improved cross-compiling setting ac_cv_buggy_getaddrinfo=no

Note

Only cross-checked the correctness against a native build using glibc!
Other libc implementations like musl need to be checked too!

Failure when running configure
----------------------------------------------------------------------
checking getaddrinfo bug... yes
Fatal: You must get working getaddrinfo() function.
       or you can specify "--disable-ipv6"
----------------------------------------------------------------------
stable/0.6
Christian Wiese 11 years ago
parent
commit
d75e16e76f
  1. 7
      python/python/python.conf

7
python/python/python.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../python/python.conf
# Copyright (C) 2007 - 2009 The OpenSDE Project
# Copyright (C) 2007 - 2014 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
@ -51,3 +51,8 @@ fix_python_for_64bit() {
}
[[ $libdir = *lib64 ]] && hook_add preconf 9 "fix_python_for_64bit"
# cross-compiling tweaks
if atstage cross; then
var_append configcache ' ' "ac_cv_buggy_getaddrinfo=no"
fi

Loading…
Cancel
Save