diff --git a/tests/regression/apparmor/Makefile b/tests/regression/apparmor/Makefile index c3d0cfb73..5653d8bb2 100644 --- a/tests/regression/apparmor/Makefile +++ b/tests/regression/apparmor/Makefile @@ -69,8 +69,8 @@ endif # USE_SYSTEM CFLAGS += -g -O0 -Wall -Wstrict-prototypes -USE_SYSCTL:=$(shell echo "#include " | cpp -dM >/dev/null 2>/dev/null && echo true) - +SYSCTL_INCLUDE="\#include " +USE_SYSCTL:=$(shell echo $(SYSCTL_INCLUDE) | cpp -dM >/dev/null 2>/dev/null && echo true) SRC=access.c \ at_secure.c \