summaryrefslogtreecommitdiff
path: root/modules/pam_pwdb/Makefile
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2005-05-16 11:03:02 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2005-05-16 11:03:02 +0000
commit67aab1ff5515054341a438cf9804e9c9b3a88033 (patch)
tree5a962491b37bde5928d382b6df1e4e5a5373df6a /modules/pam_pwdb/Makefile
parentb4eda70f951a7d46df41831b96d87cd50910d61e (diff)
Relevant BUGIDs: none
Purpose of commit: new feature Commit summary: --------------- Add SELinux support, based on Patch from Red Hat
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