On 2012-11-09 18:27, Matthew Miller wrote:
> The js package is 6.5MB.

BTW I suppose that could be significantly reduced by linking /usr/bin/js
with the dynamic libmozjs instead of the static one generated during the
build. It seems to take something more than just the attached patch though.

diff -up js-1.8.5/js/src/shell/Makefile.in~ js-1.8.5/js/src/shell/Makefile.in
--- js-1.8.5/js/src/shell/Makefile.in~	2011-03-31 22:08:36.000000000 +0300
+++ js-1.8.5/js/src/shell/Makefile.in	2012-11-10 18:22:13.647935875 +0200
@@ -52,7 +52,7 @@ CPPSRCS		= \
 
 DEFINES         += -DEXPORT_JS_API
 
-LIBS      = $(NSPR_LIBS) $(EDITLINE_LIBS) $(DEPTH)/$(LIB_PREFIX)js_static.$(LIB_SUFFIX)
+LIBS      = $(NSPR_LIBS) $(EDITLINE_LIBS) -L$(DEPTH) -lmozjs185
 
 LOCAL_INCLUDES += -I$(topsrcdir) -I..
 
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to