summaryrefslogtreecommitdiff
path: root/modules/pam_userdb/Makefile
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2001-05-08 06:03:55 +0000
committerAndrew G. Morgan <morgan@kernel.org>2001-05-08 06:03:55 +0000
commitd7a2f56b6b3ea6f66dc3be90eb3afce9cbc44679 (patch)
tree37406bc806831ca87367506d4c2082f6c1828f66 /modules/pam_userdb/Makefile
parent7ef615f402fc070f56d157f3947d2d14f0773c92 (diff)
Relevant BUGIDs: 417339
Purpose of commit: bugfix Commit summary: --------------- Better compilation support.
Diffstat (limited to 'modules/pam_userdb/Makefile')
-rw-r--r--modules/pam_userdb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/pam_userdb/Makefile b/modules/pam_userdb/Makefile
index 40687f8d..b53ac436 100644
--- a/modules/pam_userdb/Makefile
+++ b/modules/pam_userdb/Makefile
@@ -12,7 +12,9 @@ TITLE=pam_userdb
ifeq ($(HAVE_NDBM_H),yes)
WHICH_DB=ndbm
- MODULE_SIMPLE_EXTRALIBS = -lndbm
+ ifeq ($(HAVE_LIBNDBM),yes)
+ MODULE_SIMPLE_EXTRALIBS = -lndbm
+ endif
else
ifeq ($(HAVE_LIBDB),yes)
WHICH_DB=db