Closed Bug 455670 Opened 15 years ago Closed 15 years ago

Clear MOZ_FIX_LINK_PATHS for Solaris

Categories

(Firefox Build System :: General, defect)

x86
OpenSolaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

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

Details

Attachments

(1 file)

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.
Attached patch patchSplinter Review
Assignee: nobody → ginn.chen
Attachment #339038 - Flags: review?(benjamin)
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?
We already have $ORIGIN:$ORIGIN/.. in runpath.
So libraries in /usr/lib/firefox or first level subdirectory under it are fine.
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+
Pushed:
http://hg.mozilla.org/mozilla-central/rev/70d1549c2ed8
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.