summaryrefslogtreecommitdiff
path: root/modules/pam_rootok/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_rootok/Makefile')
-rw-r--r--modules/pam_rootok/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/pam_rootok/Makefile b/modules/pam_rootok/Makefile
index 3460c2a2..0c868c91 100644
--- a/modules/pam_rootok/Makefile
+++ b/modules/pam_rootok/Makefile
@@ -13,3 +13,9 @@ include ../../Make.Rules
TITLE=pam_rootok
include ../Simple.Rules
+
+ifeq ($(HAVE_LIBSELINUX),yes)
+CFLAGS += -DWITH_SELINUX
+LINK_PAMMODUTILS += -lselinux
+endif
+