aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2014-12-02 03:14:27 -0500
committerMartin Jansa <Martin.Jansa@gmail.com>2014-12-09 11:34:42 +0100
commite2d07c8646d25a473dd66ab2f76954f1103470f7 (patch)
treef2e522e8669576113f6c398da3676e690d97870d /meta-oe/recipes-devtools/ltrace/ltrace_git.bb
parent1bc5ab1737371a023256b1771819e0ec6aee1e31 (diff)
downloadmeta-openembedded-contrib-e2d07c8646d25a473dd66ab2f76954f1103470f7.tar.gz
meta-openembedded-contrib-e2d07c8646d25a473dd66ab2f76954f1103470f7.tar.bz2
meta-openembedded-contrib-e2d07c8646d25a473dd66ab2f76954f1103470f7.zip
ltrace: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for 'selinux', otherwise there would be warnings like below: WARN: ltrace: ltrace rdepends on libselinux, but it isn't a build dependency? Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/ltrace/ltrace_git.bb')
-rw-r--r--meta-oe/recipes-devtools/ltrace/ltrace_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
index 507747ae18..69848483d7 100644
--- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
+++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
@@ -17,12 +17,15 @@ DEPENDS = "elfutils"
RDEPENDS_${PN} = "elfutils"
SRC_URI = "git://anonscm.debian.org/collab-maint/ltrace.git \
file://ltrace-0.7.2-unused-typedef.patch \
+ file://configure-allow-to-disable-selinux-support.patch \
"
S = "${WORKDIR}/git"
inherit autotools
+PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind"
+PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
do_configure_prepend () {
( cd ${S}; ./autogen.sh )