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:
		| @@ -6,3 +6,9 @@ PKG_PREFIX?=	/usr | ||||
|  | ||||
| CPPFLAGS+=	-D_BSD_SOURCE -D_XOPEN_SOURCE=700 | ||||
| LIBDL=		-Wl,-Bdynamic -ldl | ||||
|  | ||||
| ifeq (${MKSELINUX},yes) | ||||
| CPPFLAGS+= -DHAVE_SELINUX | ||||
| LIBSELINUX= -lselinux | ||||
| LDADD += $(LIBSELINUX) | ||||
| endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user