]> code.ossystems Code Review - openembedded-core.git/commitdiff
site/common: deactivate a runtime check for ipv6-support in python >=2.7.1 that fails...
authorLukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Wed, 9 Jan 2013 07:20:21 +0000 (08:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Jan 2013 12:40:48 +0000 (12:40 +0000)
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.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/site/common

index 5da3ff41dea4c6a95b5fc7d4b6c4a34e7ab8a080..1214a13515a599d95de9278627334ea9f831c596 100644 (file)
@@ -15,3 +15,5 @@ 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