66db85262b
In configure there is a runtime check to determine buggy getaddrinfo and as we are cross-compiling this check goes wrong. If ipv6 is enabled in python, the failed test is reported as fatal error with the message Fatal: You must get working getaddrinfo() function. Setting ac_cv_buggy_getaddrinfo=no deactivates the runtime check and allows to compile python with ipv6 enabled. This commit was derived from the commit 700b75e7661062aa93cf81205b78c8bf7609922d in the Classic OpenEmbedded Development Tree. (From OE-Core rev: 95cc8015a867235bed6d6cde08ab87f5351a66c7) Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
713 B
Text
20 lines
713 B
Text
# libelf
|
|
mr_cv_target_elf=${mr_cv_target_elf=yes}
|
|
|
|
# Normally kernels have /dev/random enabled
|
|
ac_cv_file__dev_random=${ac_cv_file__dev_random=yes}
|
|
|
|
# Avoid sudo to assume void for unsetenv in cross environment, or else it conflicts with
|
|
# target stdlib.h prototype which follows POSIX compiliance. Mark for upstream.
|
|
sudo_cv_func_unsetenv_void=no
|
|
|
|
# shadow dir info, to avoid searching build system
|
|
shadow_cv_maildir=${localstatedir}/spool/mail
|
|
shadow_cv_mailfile=Mailbox
|
|
shadow_cv_utmpdir=${localstatedir}/run
|
|
shadow_cv_logdir=${localstatedir}/log
|
|
shadow_cv_passwd_dir=${bindir}
|
|
|
|
# python: deactivate a runtime check for ipv6-support in python >=2.7.1 that fails when cross-compiling
|
|
ac_cv_buggy_getaddrinfo=no
|