Bug 418016 Follow-up patch: force static jemalloc lib, to fix bustage for non-libxul linux builds. r+sr=pavlov a=blocking1.9+
authordholbert@cs.stanford.edu
Fri, 14 Mar 2008 17:51:38 -0700
changeset 13102 cf96d171ecc9d7f79a6a6fbd5d482766a02d2538
parent 13101 90b23d8e2d59da468f9dd950b50533b6976f76fa
child 13103 798de0faf4d2286e6efcfcb83a09147a7909b94c
push idunknown
push userunknown
push dateunknown
reviewersblocking1
bugs418016
milestone1.9b5pre
Bug 418016 Follow-up patch: force static jemalloc lib, to fix bustage for non-libxul linux builds. r+sr=pavlov a=blocking1.9+
memory/jemalloc/Makefile.in
--- a/memory/jemalloc/Makefile.in
+++ b/memory/jemalloc/Makefile.in
@@ -87,16 +87,17 @@ LIBRARY_NAME	= jemalloc
 
 ifeq (Darwin,$(OS_TARGET))
 # Build jemalloc as a shared lib, so that the library init function is executed.
 FORCE_SHARED_LIB= 1
 else
 # Make jemalloc part of libxul, in order to reduce dynamic loading overhead.
 MODULE		= jemalloc
 LIBXUL_LIBRARY	= 1
+FORCE_STATIC_LIB = 1
 endif
 
 CSRCS		= \
 		jemalloc.c \
 		$(NULL)
 
 #XXX: PGO on Linux causes problems here
 # See bug 419470