Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Mine
Friday, March 30th, 2007 at 1:39:56pm UTC 

  1. #! /bin/sh /usr/share/dpatch/dpatch-run
  2. ## 80_libxpcom_hack.dpatch by Mike Hommey <[email protected]>
  3. ##
  4. ## All lines beginning with `## DP:' are a description of the patch.
  5. ## DP: Force libxpcom to be linked to xulrunner-bin, xpcshell and libgtkmozembed
  6. ## DP: so that it is loaded in most of the cases.
  7.  
  8.  
  9. === embedding/browser/gtk/src/Makefile.in
  10. ==================================================================
  11. --- xulrunner/embedding/browser/gtk/src/Makefile.in     (revision 118)
  12. +++ xulrunner/embedding/browser/gtk/src/Makefile.in     (local)
  13. @@ -120,7 +120,9 @@
  14.  
  15.  ifdef MOZ_ENABLE_GTK2
  16.  EXTRA_DSO_LDOPTS = \
  17. +              -Wl,--no-as-needed \
  18.                $(MOZ_COMPONENT_LIBS) \
  19. +              -Wl,--as-needed \
  20.                $(NULL)
  21.  endif
  22.  
  23. === js/src/xpconnect/shell/Makefile.in
  24. ==================================================================
  25. --- xulrunner/js/src/xpconnect/shell/Makefile.in        (revision 118)
  26. +++ xulrunner/js/src/xpconnect/shell/Makefile.in        (local)
  27. @@ -57,7 +57,9 @@
  28.  
  29.  LIBS      = \
  30.                $(MOZ_JS_LIBS) \
  31. +              -Wl,--no-as-needed \
  32.                $(XPCOM_LIBS) \
  33. +              -Wl,--as-needed \
  34.                $(NSPR_LIBS) \
  35.                $(NULL)
  36.  
  37. --- iceape/xpfe/bootstrap/Makefile.in
  38. +++ iceape/xpfe/bootstrap/Makefile.in
  39. @@ -198,7 +198,7 @@
  40.                $(DIST)/lib/$(LIB_PREFIX)xpcomglue.$(LIB_SUFFIX) \
  41.                $(NULL)
  42.  else
  43. -LIBS      += $(XPCOM_LIBS)
  44. +LIBS      += -Wl,--no-as-needed $(XPCOM_LIBS) --Wl,--as-needed
  45.  endif
  46.  
  47.  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.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right
worth-right