[oe] [oe-core][PATCH] Make Python IPv6 aware
danismostlikely at gmail.com
danismostlikely at gmail.com
Mon Jun 3 22:12:14 UTC 2013
From: Dan McGregor <dan.mcgregor at usask.ca>
Wrap this around DISTRO_FEATURES, because we don't want it
unconditionally enabled.
---
meta/recipes-devtools/python/python.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index d0ed55b..4618eb3 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -19,6 +19,7 @@ inherit autotools
PYTHONLSBOPTS = "--with-wctype-functions"
PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
+ENABLE_IPV6 = "--enable-ipv6=${@base_contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"
EXTRA_OECONF = "\
--with-threads \
--with-pymalloc \
@@ -27,5 +28,6 @@ EXTRA_OECONF = "\
--with-signal-module \
--with-wctype-functions \
--enable-shared \
+ ${ENABLE_IPV6} \
${PYTHONLSBOPTS} \
"
--
1.8.1.4
More information about the Openembedded-devel
mailing list