summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/python/python.inc
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2013-06-03 17:12:27 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-07 16:41:02 +0100
commit6956fb01e0c7332e4d8b59cbcb1cd997c54191fc (patch)
treeb228967535ec3ca6e21e37e0512ef26c21ae7d38 /meta/recipes-devtools/python/python.inc
parentacd5fc716bc3095d568bd1474b79f3a0fd616eea (diff)
downloadopenembedded-core-6956fb01e0c7332e4d8b59cbcb1cd997c54191fc.tar.gz
openembedded-core-6956fb01e0c7332e4d8b59cbcb1cd997c54191fc.tar.bz2
openembedded-core-6956fb01e0c7332e4d8b59cbcb1cd997c54191fc.zip
python: enable IPv6 based on DISTRO_FEATURES
Base this on DISTRO_FEATURES, because we don't want it unconditionally enabled. Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python.inc')
-rw-r--r--meta/recipes-devtools/python/python.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index d0ed55b3b1..80609a8887 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} \
"