diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-22 17:05:54 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-31 17:53:28 +0100 |
commit | e2549cf5bab48c2247277671a93112df80b78767 (patch) | |
tree | 30551f27fdfcda3155ce77142c2ee1d6c2697c67 | |
parent | 2a4148222ec54d75e6232f048437e9f34435bf7e (diff) | |
download | openembedded-core-contrib-e2549cf5bab48c2247277671a93112df80b78767.tar.gz |
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>
-rw-r--r-- | meta/recipes-support/apr/apr_1.5.2.bb | 3 |
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 # 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 |