Closed Bug 225259 Opened 22 years ago Closed 22 years ago

Link NSS dynamic shared libraries with the -headerpad_max_install_names option

Categories

(NSS :: Build, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

Attachments

(1 file)

We should link the NSPR dynamic shared libraries with the -headerpad_max_install_names linker option so that their install names can be changed with install_name_tool. See the ld(1) man page on Mac OS X for documentation on -headerpad_max_install_names.
Attached patch Proposed patchSplinter Review
Note that $(DSO_LDOPTS) is passed to the compiler $(CC) in the MKSHLIB command, but it seems that I don't need to use "-Wl," in front of -headerpad_max_install_names.
Attachment #135196 - Flags: superreview?(sfraser)
Attachment #135196 - Flags: review?(ccarlen)
Attachment #135196 - Flags: superreview?(sfraser) → superreview+
Comment on attachment 135196 [details] [diff] [review] Proposed patch r=ccarlen
Attachment #135196 - Flags: review?(ccarlen) → review+
Patch checked into the NSS tip. Checking in Darwin.mk; /cvsroot/mozilla/security/coreconf/Darwin.mk,v <-- Darwin.mk new revision: 1.8; previous revision: 1.7 done This will first appear in NSS 3.9 Beta 3.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: