summaryrefslogtreecommitdiff
path: root/modules/pam_userdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_userdb/Makefile')
-rw-r--r--modules/pam_userdb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/pam_userdb/Makefile b/modules/pam_userdb/Makefile
index b53ac436..bbecaae1 100644
--- a/modules/pam_userdb/Makefile
+++ b/modules/pam_userdb/Makefile
@@ -24,6 +24,10 @@ else
endif
endif
+ifeq ($(HAVE_LIBCRYPT),yes)
+ MODULE_SIMPLE_EXTRALIBS += -lcrypt
+endif
+
ifeq ($(WHICH_DB),none)
include ../dont_makefile