Closed
Bug 316250
Opened 20 years ago
Closed 20 years ago
crmftest doesn't build on OS/2
Categories
(NSS :: Build, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.11
People
(Reporter: julien.pierre, Assigned: julien.pierre)
Details
Attachments
(1 file, 1 obsolete file)
|
1.07 KB,
patch
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•20 years ago
|
||
Attachment #202873 -
Flags: review?
| Assignee | ||
Updated•20 years ago
|
Priority: -- → P2
Comment 2•20 years ago
|
||
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-
| Assignee | ||
Comment 3•20 years ago
|
||
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
| Assignee | ||
Comment 4•20 years ago
|
||
Marking fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•