Add SELinux support to the build system
X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
This commit is contained in:
parent
25c229cf83
commit
4a1afa694c
@ -6,3 +6,9 @@ PKG_PREFIX?= /usr
|
|||||||
|
|
||||||
CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700
|
CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700
|
||||||
LIBDL= -Wl,-Bdynamic -ldl
|
LIBDL= -Wl,-Bdynamic -ldl
|
||||||
|
|
||||||
|
ifeq (${MKSELINUX},yes)
|
||||||
|
CPPFLAGS+= -DHAVE_SELINUX
|
||||||
|
LIBSELINUX= -lselinux
|
||||||
|
LDADD += $(LIBSELINUX)
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user