Make python aware of IPv6
I found that gateone would crash with a socket error when Python isn't compiled with IPv6 support. This patch enables it when DISTRO_FEATURES includes ipv6.
PATCH 1/1 python: enable IPv6 based on DISTRO_FEATURES
From: Dan McGregor <[email protected]>
Base this on DISTRO_FEATURES, because we don't want it unconditionally enabled.
--- meta/recipes-devtools/python/python.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python.inc +1 -0
@@ -27,5 +27,6 @@ EXTRA_OECONF = "\ --with-signal-module \ --with-wctype-functions \ --enable-shared \ + --enable-ipv6=${@base_contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \ ${PYTHONLSBOPTS} \ "
Signature · 1 line
1.8.1.4