diff mbox

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

Message ID d7e0f6a82d470a2b0a8513f686d2ce5bdcd09b1d.1350484529.git.morten.thunbergsvendsen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

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

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}" \