From d7a2f56b6b3ea6f66dc3be90eb3afce9cbc44679 Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Tue, 8 May 2001 06:03:55 +0000 Subject: [PATCH] Relevant BUGIDs: 417339 Purpose of commit: bugfix Commit summary: --------------- Better compilation support. --- CHANGELOG | 2 ++ modules/pam_userdb/Makefile | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.40.0