tests: Drop support for linking against libimmunix

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

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: Steve Beattie <steve@nxnw.org>
This commit is contained in:
Tyler Hicks 2013-11-04 08:53:47 -08:00
parent 98d57db313
commit 218e727163

View file

@ -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