mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
![]() This patch converts the regression tests to build against the in-tree libapparmor, giving an error if libapparmor has not already been built. It also maintains support for building against the system libapparmor via passing USE_SYSTEM=1 on the make command line. An error is also given if the system libapparmor cannot be found, indicating that development packages need to be installed. The check to look for libapparmor is also updated to make use of libapparmor pkg-config data if available. Patch history: v1: initial submission v2: convert from including the apparmor.h on the command line to specifying an in-tree libapparmor header include path, now that their location has been adjusted to make it safe to do so. Remove work around related to defining _GNU_SOURCE. v3: fix LDLIBS to use output of pkg-config et al tests instead of hardcoding -lapparmor in the USE_SYSTEM case. Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: Tyler Hicks <tyhicks@canonical.com> |
||
---|---|---|
.. | ||
regression | ||
stress | ||
Makefile |