[apparmor] [PATCH] tests: Drop support for linking against libimmunix

Tyler Hicks tyhicks at canonical.com
Sat Nov 2 00:30:39 UTC 2013


Only attempt to link against libapparmor since libimmunix has been
deprecated for 5+ years.

Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
---
 tests/regression/apparmor/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/regression/apparmor/Makefile b/tests/regression/apparmor/Makefile
index c910c00..99977a7 100644
--- a/tests/regression/apparmor/Makefile
+++ b/tests/regression/apparmor/Makefile
@@ -105,8 +105,6 @@ CHANGEHAT_FLAGS=$(shell if [ ! -f /usr/include/sys/apparmor.h ] ; then \
 
 LIBIMMUNIX:=$(shell	if ldconfig -p | grep -q libapparmor\.so ; then \
 				echo -lapparmor ; \
-			elif ldconfig -p | grep -q libimmunix\.so ; then \
-				echo -limmunix ; \
 			fi )
 
 CFLAGS+=$(CHANGEHAT_FLAGS) -Wall -Wstrict-prototypes
-- 
1.8.3.2




More information about the AppArmor mailing list