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

Signed-off-by: Tyler Hicks <[email protected]>
---
 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


-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to