]> code.ossystems Code Review - openembedded-core.git/commitdiff
python: enable IPv6 based on DISTRO_FEATURES
authorDan McGregor <dan.mcgregor@usask.ca>
Mon, 3 Jun 2013 23:12:27 +0000 (17:12 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Jun 2013 15:41:02 +0000 (16:41 +0100)
Base this on DISTRO_FEATURES, because we don't want it
unconditionally enabled.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/python/python.inc

index d0ed55b3b12b11f95617c1fec3d66e71a705d0aa..80609a88879d6fed961a58938a36a058ad40ca8f 100644 (file)
@@ -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} \
 "