components/desktop/thunderbird/patches/thunderbird17-jemalloc_linkage.patch
changeset 5255 cea0e462549a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/thunderbird/patches/thunderbird17-jemalloc_linkage.patch	Mon Jan 11 09:27:45 2016 -0800
@@ -0,0 +1,17 @@
+Fix for building on Solaris.
+This should be investigated for sending upstream.
+--- a/mail/app/Makefile.in	Mon Jan 16 15:54:09 2012
++++ b/mail/app/Makefile.in	Mon Jan 16 15:55:33 2012
+@@ -113,6 +113,12 @@
+ endif
+ endif
+ 
++ifdef MOZ_MEMORY
++ifeq ($(OS_ARCH),SunOS)
++LIBS += $(LIBXUL_LIBS)
++endif
++endif
++
+ # This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
+ # shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
+ NSDISTMODE = copy