Closed
Bug 400094
Opened 17 years ago
Closed 17 years ago
JSS should link conditionally with libnssutil
Categories
(JSS Graveyard :: Library, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
4.2.6
People
(Reporter: julien.pierre, Assigned: glenbeasley)
References
Details
Attachments
(1 file)
2.46 KB,
patch
|
glenbeasley
:
review+
|
Details | Diff | Splinter Review |
The JSS trunk is currently broken when compiled against coreconf and NSS from NSS_3_11_BRANCH, because it tries to look for libnssutil which is new in NSS 3.12 . The JSS Makefile needs to be changed to link with this new library conditionally, only when JSS is being built against NSS 3.12 or newer.
Updated•17 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → 4.3
Version: unspecified → 4.2.5
Comment 1•17 years ago
|
||
I had to cleanup the makefile a bit to avoid the duplication of the list of libraries needed (Windows and non-Windows).
1- list the libraries for NSPR and NSS (with conditional add of nssutil3)
2- add the appropriate prefix and suffix for the link:
on Windows: $(NSS_LIB_DIR)/[lib].lib
prefix= $(NSS_LIB_DIR)/
suffix= .$(LIB_SUFFIX) [defined in coreconf/WIN32.mk:LIB_SUFFIX = lib]
on non-Windows: -l[lib]
prefix= -l
Build tested on Solaris and Windows.
Attachment #285306 -
Flags: review?(glen.beasley)
Comment 2•17 years ago
|
||
Note: target is currently because of the lack of 4.2.6. The real target is 4.2.6.
Updated•17 years ago
|
QA Contact: jss-qa
Assignee | ||
Updated•17 years ago
|
Attachment #285306 -
Flags: review?(glen.beasley) → review+
Comment 3•17 years ago
|
||
Fix committed to the trunk.
r=glen.beasley
Checking in coreconf/config.mk;
/cvsroot/mozilla/security/coreconf/config.mk,v <-- config.mk
new revision: 1.22; previous revision: 1.21
done
Checking in jss/lib/config.mk;
/cvsroot/mozilla/security/jss/lib/config.mk,v <-- config.mk
new revision: 1.24; previous revision: 1.23
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 4•17 years ago
|
||
Changing target milestone to 4.2.6 now that it exists.
Target Milestone: 4.3 → 4.2.6
You need to log in
before you can comment on or make changes to this bug.
Description
•