Patchwork [7/9] libcap2: If Make.Rules in src detects BUILD pam_modules.h result is compile error

login
register
mail settings
Submitter Morten Svendsen
Date Oct. 17, 2012, 2:39 p.m.
Message ID <d7e0f6a82d470a2b0a8513f686d2ce5bdcd09b1d.1350484529.git.morten.thunbergsvendsen@prevas.dk>
Download mbox | patch
Permalink /patch/192069/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Morten Svendsen - Oct. 17, 2012, 2:39 p.m.
fix: Always disable pam support
---
 recipes/libcap/libcap2.inc |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/recipes/libcap/libcap2.inc b/recipes/libcap/libcap2.inc
index d111056..fd8089d 100644
--- a/recipes/libcap/libcap2.inc
+++ b/recipes/libcap/libcap2.inc
@@ -14,6 +14,7 @@  S = "${SRCDIR}/libcap"
 DEPENDS = "native:bison native:flex libattr"
 
 BUILD_CFLAGS += "-I${S}/libcap/include"
+EXTRA_OEMAKE = "PAM_CAP=no"
 
 do_install() {
 	oe_runmake DESTDIR="${D}" \