]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs: 417339
authorAndrew G. Morgan <morgan@kernel.org>
Tue, 8 May 2001 06:03:55 +0000 (06:03 +0000)
committerAndrew G. Morgan <morgan@kernel.org>
Tue, 8 May 2001 06:03:55 +0000 (06:03 +0000)
Purpose of commit: bugfix

Commit summary:
---------------
Better compilation support.

CHANGELOG
modules/pam_userdb/Makefile

index 10b93dbea48d19ea7c1ae1cb545b163848133dee..cf39d9b35cc871cb4df17c91a6bdfea605f0979c 100644 (file)
--- 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 -
index 40687f8d2bdfec2ff871f8c716d470f2daf633af..b53ac43601d4bb88311a5665cadb9c748db4e8e0 100644 (file)
@@ -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