Fix for bug 316250. crmftest doesn't build on OS/2. Add LIB_PREFIX .
authorjulien.pierre.bugs%sun.com
Mon, 14 Nov 2005 00:17:21 +0000
changeset 6294 b0063b7ee2f9e4de908ecaf807c1bde3d6bddf6f
parent 6293 c2f4c5d0c6b0572137f152b85862cb35087e3dcf
child 6300 5da008abbe3bb0021333465291c5e4ce48909e98
push idunknown
push userunknown
push dateunknown
bugs316250
Fix for bug 316250. crmftest doesn't build on OS/2. Add LIB_PREFIX .
security/nss/cmd/crmftest/Makefile
--- a/security/nss/cmd/crmftest/Makefile
+++ b/security/nss/cmd/crmftest/Makefile
@@ -62,21 +62,17 @@ include config.mk
 ifeq ($(OS_TARGET)$(OS_RELEASE), AIX4.2)
 OS_LIBS += -lsvld 
 endif 
 
 ifeq ($(OS_TARGET)$(OS_RELEASE), SunOS5.6)
 OS_LIBS += -ldl -lxnet -lposix4 -lsocket -lnsl
 endif
 
-ifeq (,$(filter-out WIN%,$(OS_TARGET)))
-EXTRA_LIBS += $(DIST)/lib/crmf.lib
-else
-EXTRA_LIBS += $(DIST)/lib/libcrmf.$(LIB_SUFFIX) 
-endif
+EXTRA_LIBS += $(DIST)/lib/$(LIB_PREFIX)crmf.$(LIB_SUFFIX)
 
 include ../platlibs.mk
 
 #######################################################################
 # (5) Execute "global" rules. (OPTIONAL)                              #
 #######################################################################
 
 include $(CORE_DEPTH)/coreconf/rules.mk