summaryrefslogtreecommitdiff
path: root/modules/pam_pwdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_pwdb/Makefile')
-rw-r--r--modules/pam_pwdb/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/pam_pwdb/Makefile b/modules/pam_pwdb/Makefile
index fa0e1b02..f136a820 100644
--- a/modules/pam_pwdb/Makefile
+++ b/modules/pam_pwdb/Makefile
@@ -11,9 +11,13 @@ include ../../Make.Rules
ifeq ($(HAVE_LIBPWDB),yes)
-EXTRALS += -lpwdb
+EXTRALS += -lpwdb
EXTRAS += -DCHKPWD_HELPER=\"$(SUPLEMENTED)/$(CHKPWD)\"
+ifeq ($(HAVE_LIBSELINUX),yes)
+ EXTRALS += -lselinux
+endif
+
ifeq ($(HAVE_LIBCRYPT),yes)
EXTRALS += -lcrypt
endif