summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:05:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:44 +0100
commitb7ed9b13492b09f7197fc095f8965f62411d9982 (patch)
treea0f0caeb70643ba4922bacff0308f164528c2c4a
parentcfa74a2d4f158601a35b96e235484dac14cbf4d5 (diff)
downloadopenembedded-core-contrib-b7ed9b13492b09f7197fc095f8965f62411d9982.tar.gz
openembedded-core-contrib-b7ed9b13492b09f7197fc095f8965f62411d9982.tar.bz2
openembedded-core-contrib-b7ed9b13492b09f7197fc095f8965f62411d9982.zip
libsm: 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-graphics/xorg-lib/libsm_1.2.2.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libsm_1.2.2.bb b/meta/recipes-graphics/xorg-lib/libsm_1.2.2.bb
index 1925136369..da4ed92510 100644
--- a/meta/recipes-graphics/xorg-lib/libsm_1.2.2.bb
+++ b/meta/recipes-graphics/xorg-lib/libsm_1.2.2.bb
@@ -26,3 +26,6 @@ BBCLASSEXTEND = "native"
SRC_URI[md5sum] = "499a7773c65aba513609fe651853c5f3"
SRC_URI[sha256sum] = "0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"