Patchwork [v2,1/1] libpam: add PACKAGECONFIG data concerning audit

login
register
mail settings
Submitter Joe Slater
Date Aug. 23, 2013, 5:42 p.m.
Message ID <1377279758-18920-1-git-send-email-jslater@windriver.com>
Download mbox | patch
Permalink /patch/56449/
State Accepted
Commit 4db6aa2094447f8d2a9c234089a80ddcd78fcbd0
Headers show

Comments

Joe Slater - Aug. 23, 2013, 5:42 p.m.
We do not want libpam to build using audit just
because it happens to be lying around, so we
create PACKAGECONFIG[] data to give us explicit
control.

Signed-off-by: Joe Slater <jslater@windriver.com>
---
 meta/recipes-extended/pam/libpam_1.1.6.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb b/meta/recipes-extended/pam/libpam_1.1.6.bb
index 3d8999d..448a67b 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -47,6 +47,8 @@  S = "${WORKDIR}/Linux-PAM-${PV}"
 
 inherit autotools gettext pkgconfig
 
+PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit,"
+
 PACKAGES += "${PN}-runtime ${PN}-xtests"
 FILES_${PN} = "${base_libdir}/lib*${SOLIBS}"
 FILES_${PN}-dbg += "${base_libdir}/security/.debug \