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>
This commit is contained in:
parent
4a5aa7ea4d
commit
2e478ff220
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue