Closed Bug 316250 Opened 19 years ago Closed 19 years ago

crmftest doesn't build on OS/2

Categories

(NSS :: Build, defect, P2)

3.11
x86
OS/2
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julien.pierre, Assigned: julien.pierre)

Details

Attachments

(1 file, 1 obsolete file)

crmftest was recently added to cmd/manifest.mn, but crmftest doesn't build on OS/2 . The error is :

gmake.exe: *** No rule to make target `../../../../dist/OS22.45_gcc_DBG.OBJ/lib/
libcrmf.lib', needed by `OS22.45_gcc_DBG.OBJ/crmftest.exe'.  Stop.

This is because the Makefile doesn't make use of the LIB_PREFIX macro in the name. Instead, it has two cases - Windows without lib, and everything else with lib. This is an easy fix.
Attached patch use LIB_PREFIX (obsolete) — Splinter Review
Attachment #202873 - Flags: review?
Priority: -- → P2
Comment on attachment 202873 [details] [diff] [review]
use LIB_PREFIX

>-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

Need to use LIB_SUFFIX.  The line should read:

  EXTRA_LIBS += $(DIST)/lib/$(LIB_PREFIX)crmf.$(LIB_SUFFIX)
Attachment #202873 - Flags: review? → review-
Oops, good catch, Wan-Teh. I modified the wrong line.
I checked in this patch that uses both LIB_PREFIX and LIB_SUFFIX.

/cvsroot/mozilla/security/nss/cmd/crmftest/Makefile,v  <--  Makefile
new revision: 1.7; previous revision: 1.6
done
Attachment #202873 - Attachment is obsolete: true
Marking fixed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: