[OE-core] [oe-core][PATCH] python: enable IPv6 based on DISTRO_FEATURES

Dan McGregor danismostlikely at gmail.com
Mon Jun 3 23:12:27 UTC 2013


From: Dan McGregor <dan.mcgregor at usask.ca>

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(+)

diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index d0ed55b..80609a8 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -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} \
 "
-- 
1.8.1.4




More information about the Openembedded-core mailing list