Clear MOZ_FIX_LINK_PATHS for Solaris

RESOLVED FIXED

Status

RESOLVED FIXED
10 years ago
9 months ago

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

Tracking

Trunk
x86
OpenSolaris

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

10 years ago
MOZ_FIX_LINK_PATHS is no use on Solaris.

Having -R ${LIBXUL_DIST}/bin will cause the final binary have a runpath as "../../dist/bin".
Then it tries to find library from ../../dist/bin, it's not good for end user.
(Assignee)

Comment 1

10 years ago
Created attachment 339038 [details] [diff] [review]
patch
Assignee: nobody → ginn.chen
Attachment #339038 - Flags: review?(benjamin)

Comment 2

10 years ago
Comment on attachment 339038 [details] [diff] [review]
patch

So the question is, what are you going to use in its place? There are components that link against -lxpcom but explicitly don't link against the dependencies of -lxpcom (in particular -lxul or the NSS libs)... how will these be found?
(Assignee)

Comment 3

10 years ago
We already have $ORIGIN:$ORIGIN/.. in runpath.
So libraries in /usr/lib/firefox or first level subdirectory under it are fine.

Comment 4

10 years ago
Comment on attachment 339038 [details] [diff] [review]
patch

If $ORIGIN is honored at link-time in addition to runtime, that makes sense.
Attachment #339038 - Flags: review?(benjamin) → review+
(Assignee)

Comment 5

10 years ago
Pushed:
http://hg.mozilla.org/mozilla-central/rev/70d1549c2ed8
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED

Updated

9 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.