[oe-commits] Dan McGregor : python: enable IPv6 based on DISTRO_FEATURES

git at git.openembedded.org git at git.openembedded.org
Fri Jun 7 15:43:56 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 6956fb01e0c7332e4d8b59cbcb1cd997c54191fc
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6956fb01e0c7332e4d8b59cbcb1cd997c54191fc

Author: Dan McGregor <dan.mcgregor at usask.ca>
Date:   Mon Jun  3 17:12:27 2013 -0600

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 at linux.intel.com>

---

 meta/recipes-devtools/python/python.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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} \
 "



More information about the Openembedded-commits mailing list