From d66ecd8caf597bcc794f9b9b1716a4f4ab4cfed2 Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Sat, 10 Feb 2001 07:17:52 +0000 Subject: Relevant BUGIDs: 131783 Purpose of commit: bugfix Commit summary: --------------- static library and debugging library support fixed - post autoconf stuff. --- libpam/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libpam') diff --git a/libpam/Makefile b/libpam/Makefile index 64fe13a4..80fbf957 100644 --- a/libpam/Makefile +++ b/libpam/Makefile @@ -40,6 +40,8 @@ ifdef STATIC @echo Did you mean to set STATIC\? MODULES = $(shell cat ../modules/_static_module_objects) STATICOBJ = pam_static.o +else +MODULES = endif ifdef MEMORY_DEBUG @@ -105,7 +107,7 @@ endif $(LIBPAMSTATIC): $(SLIBOBJECTS) ifeq ($(STATIC_LIBPAM),yes) - $(AR) $@ $(SLIBOBJECTS) $(MODULES) + ar cr $@ $(SLIBOBJECTS) $(MODULES) $(RANLIB) $@ endif -- cgit v1.2.3