mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00
From: Jeff Mahoney <jeffm@suse.com>
Subject: adjust includes for pam_apparmor to point at the intree version of libapparmor, rather than depend on an external version to be installed.
This commit is contained in:
parent
09edd269aa
commit
37ac8ede4f
2 changed files with 4 additions and 4 deletions
|
@ -26,8 +26,8 @@ common/Make.rules: $(COMMONDIR)/Make.rules
|
|||
ln -sf $(COMMONDIR) .
|
||||
endif
|
||||
|
||||
EXTRA_CFLAGS=$(CFLAGS) -fPIC -shared -Wall
|
||||
LINK_FLAGS=-Xlinker -x
|
||||
EXTRA_CFLAGS=$(CFLAGS) -fPIC -shared -Wall -I../../libraries/libapparmor/src/
|
||||
LINK_FLAGS=-Xlinker -x -L../../libraries/libapparmor/src/.libs
|
||||
LIBS=-lpam -lapparmor
|
||||
OBJECTS=${NAME}.o get_options.o
|
||||
|
||||
|
@ -41,7 +41,7 @@ $(NAME).so: ${OBJECTS}
|
|||
|
||||
# need some better way of determining this
|
||||
DESTDIR=/
|
||||
SECDIR=${DESTDIR}/lib/security
|
||||
SECDIR ?= ${DESTDIR}/lib/security
|
||||
|
||||
.PHONY: install
|
||||
install: $(NAME).so
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <grp.h>
|
||||
#include <syslog.h>
|
||||
#include <errno.h>
|
||||
#include <sys/apparmor.h>
|
||||
#include <apparmor.h>
|
||||
#include <security/pam_ext.h>
|
||||
#include <security/pam_modutil.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue