[apparmor] [PATCH 04/11] Make libaare built depend on immunix.h

John Johansen john.johansen at canonical.com
Tue Dec 14 08:58:41 GMT 2010


The dfa engine uses the defines from immunix.h for permission conflict
checking, so make the build depend on it.

Signed-off-by: John Johansen <john.johansen at canonical.com>
---
 parser/libapparmor_re/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/parser/libapparmor_re/Makefile b/parser/libapparmor_re/Makefile
index 50367d0..3409f9a 100644
--- a/parser/libapparmor_re/Makefile
+++ b/parser/libapparmor_re/Makefile
@@ -18,7 +18,7 @@ libapparmor_re.a: regexp.o
 regexp.o : regexp.cc apparmor_re.h
 	$(LINK.cc) $< -c -o $@
 
-regexp.cc : regexp.y flex-tables.h
+regexp.cc : regexp.y flex-tables.h ../immunix.h
 	${BISON} -o $@ $<
 
 clean:
-- 
1.7.1




More information about the AppArmor mailing list