diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-22 17:05:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 23:45:43 +0100 |
commit | f109e4078b97debd5df253bb186beca462c609d1 (patch) | |
tree | 28a3c50973f70ff45b6d84eb8ac40de8fb0814a4 /meta/recipes-graphics | |
parent | 91d29c5555557fb0637c886f76c859d704ecd980 (diff) | |
download | openembedded-core-f109e4078b97debd5df253bb186beca462c609d1.tar.gz openembedded-core-f109e4078b97debd5df253bb186beca462c609d1.tar.bz2 openembedded-core-f109e4078b97debd5df253bb186beca462c609d1.zip |
libice: 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/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libice_1.0.9.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb b/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb index 5049b7ee02..b361ad6ddd 100644 --- a/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb +++ b/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb @@ -23,5 +23,6 @@ BBCLASSEXTEND = "native" SRC_URI[md5sum] = "addfb1e897ca8079531669c7c7711726" SRC_URI[sha256sum] = "8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202" -PACKAGECONFIG ??= "" +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" PACKAGECONFIG[arc4] = "ac_cv_lib_bsd_arc4random_buf=yes,ac_cv_lib_bsd_arc4random_buf=no,libbsd" +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |