mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-25 07:17:05 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
1bc5ab1737
commit
e2d07c8646
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user