aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:05:54 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:43 +0100
commit91d29c5555557fb0637c886f76c859d704ecd980 (patch)
tree60ef604625013756fee46a45e3787f415cdff1cb /meta
parent95b6ceffd947271f315d8a7660797ab371adfbb9 (diff)
downloadopenembedded-core-contrib-91d29c5555557fb0637c886f76c859d704ecd980.tar.gz
openembedded-core-contrib-91d29c5555557fb0637c886f76c859d704ecd980.tar.bz2
openembedded-core-contrib-91d29c5555557fb0637c886f76c859d704ecd980.zip
apr: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/apr/apr_1.5.2.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr_1.5.2.bb b/meta/recipes-support/apr/apr_1.5.2.bb
index db1530530a8..302c93504b2 100644
--- a/meta/recipes-support/apr/apr_1.5.2.bb
+++ b/meta/recipes-support/apr/apr_1.5.2.bb
@@ -38,6 +38,9 @@ CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=no ac_cv_header_netinet_sct
# x86_64-linux-libtool: error: specify a tag with '--tag'
CCACHE = ""
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
+
do_configure_prepend() {
# Avoid absolute paths for grep since it causes failures
# when using sstate between different hosts with different