From: Andrew G. Morgan Date: Tue, 8 May 2001 06:03:55 +0000 (+0000) Subject: Relevant BUGIDs: 417339 X-Git-Tag: Linux-PAM-0-76~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7a2f56b6b3ea6f66dc3be90eb3afce9cbc44679;p=linux-pam Relevant BUGIDs: 417339 Purpose of commit: bugfix Commit summary: --------------- Better compilation support. --- diff --git a/CHANGELOG b/CHANGELOG index 10b93dbe..cf39d9b3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -49,6 +49,8 @@ bug report - outstanding bugs are listed here: 0.76: please submit patches for this section with actual code/doc patches! +* more specific linking requirements for -lndbm for pam_userdb - from + David Lee (Bug 417339 - agmorgan) * a large number of small changes to make AIX support better (Bug 416229 - agmorgan) * $(MAKE) instead of 'make' - from Scott T. Emery (Bug 422144 - 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