Closed Bug 400094 Opened 17 years ago Closed 17 years ago

JSS should link conditionally with libnssutil

Categories

(JSS Graveyard :: Library, defect, P1)

4.2.5
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julien.pierre, Assigned: glenbeasley)

References

Details

Attachments

(1 file)

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.
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → 4.3
Version: unspecified → 4.2.5
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)
Note: target is currently because of the lack of 4.2.6. The real target is 4.2.6.
QA Contact: jss-qa
Attachment #285306 - Flags: review?(glen.beasley) → review+
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
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.

Attachment

General

Created:
Updated:
Size: