Advertising
- Mine
- Friday, March 30th, 2007 at 1:39:56pm UTC
- #! /bin/sh /usr/share/dpatch/dpatch-run
- ## 80_libxpcom_hack.dpatch by Mike Hommey <[email protected]>
- ##
- ## All lines beginning with `## DP:' are a description of the patch.
- ## DP: Force libxpcom to be linked to xulrunner-bin, xpcshell and libgtkmozembed
- ## DP: so that it is loaded in most of the cases.
- === embedding/browser/gtk/src/Makefile.in
- ==================================================================
- --- xulrunner/embedding/browser/gtk/src/Makefile.in (revision 118)
- +++ xulrunner/embedding/browser/gtk/src/Makefile.in (local)
- @@ -120,7 +120,9 @@
- ifdef MOZ_ENABLE_GTK2
- EXTRA_DSO_LDOPTS = \
- + -Wl,--no-as-needed \
- $(MOZ_COMPONENT_LIBS) \
- + -Wl,--as-needed \
- $(NULL)
- endif
- === js/src/xpconnect/shell/Makefile.in
- ==================================================================
- --- xulrunner/js/src/xpconnect/shell/Makefile.in (revision 118)
- +++ xulrunner/js/src/xpconnect/shell/Makefile.in (local)
- @@ -57,7 +57,9 @@
- LIBS = \
- $(MOZ_JS_LIBS) \
- + -Wl,--no-as-needed \
- $(XPCOM_LIBS) \
- + -Wl,--as-needed \
- $(NSPR_LIBS) \
- $(NULL)
- --- iceape/xpfe/bootstrap/Makefile.in
- +++ iceape/xpfe/bootstrap/Makefile.in
- @@ -198,7 +198,7 @@
- $(DIST)/lib/$(LIB_PREFIX)xpcomglue.$(LIB_SUFFIX) \
- $(NULL)
- else
- -LIBS += $(XPCOM_LIBS)
- +LIBS += -Wl,--no-as-needed $(XPCOM_LIBS) --Wl,--as-needed
- endif
- LIBS += \
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.