summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/apr
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:52 +0100
commit2e478ff220b14c7c5ce906c78f00f426daacd46d (patch)
treec247ac75a99cd7f8d3b1eca7d197a04f7ad65ae5 /meta/recipes-support/apr
parent4a5aa7ea4d07c2c90a1654b174873abb018acc67 (diff)
downloadpoky-2e478ff220b14c7c5ce906c78f00f426daacd46d.tar.gz
apr: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. (From OE-Core rev: 91d29c5555557fb0637c886f76c859d704ecd980) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/apr')
-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 db1530530a..302c93504b 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
38# x86_64-linux-libtool: error: specify a tag with '--tag' 38# x86_64-linux-libtool: error: specify a tag with '--tag'
39CCACHE = "" 39CCACHE = ""
40 40
41PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
42PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
43
41do_configure_prepend() { 44do_configure_prepend() {
42 # Avoid absolute paths for grep since it causes failures 45 # Avoid absolute paths for grep since it causes failures
43 # when using sstate between different hosts with different 46 # when using sstate between different hosts with different