Closed Bug 601128 Opened 14 years ago Closed 14 years ago

Link js staticially for libxul builds (port bug 580407 / bug 587375)

Categories

(MailNews Core :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.3a1

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

We're currently forcing a shared js library for builds. With our libxul goodness we can easily pick up the static version by porting a couple of bugs.

I have a patch in progress for this.
Attached patch The fixSplinter Review
This removes the old hacks to disable static js library completely and ports the appropriate code to make static/shared js work correctly.

Note this is currently just Mac and Linux only - see the bit in configure.in (though the bug reference is weird but I can just about see what's happening there and its the same as per m-c).
Attachment #480705 - Flags: review?(bugspam.Callek)
Comment on attachment 480705 [details] [diff] [review]
The fix

> 
>-# Make sure we've got js set to shared or static appropriately
>-if test -z "$JS_SHARED_LIBRARY"; then
>-    ac_configure_args="$ac_configure_args --enable-shared-js"
>-fi
>-

Why remove this, won't we just want to flip to --disable-shared-js per http://mxr.mozilla.org/comm-central/source/mozilla/configure.in#9357

If i'm wrong convince me, otherwise r+. ;-)
Attachment #480705 - Flags: review?(bugspam.Callek) → review+
(In reply to comment #2)
> Why remove this, won't we just want to flip to --disable-shared-js per
> http://mxr.mozilla.org/comm-central/source/mozilla/configure.in#9357

Answered over irc - we've now got the same default as mozilla-central, so we don't actually need to explicitly specify the argument - if the developer specifies it, then the existing code will pass the argument on as well.

Checked in: http://hg.mozilla.org/comm-central/rev/e50c29711d53
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: