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.
Created attachment 480705 [details] [diff] [review] The fix 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).
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+. ;-)
(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