Bug 448185: Fix linking with tracemalloc in comm-central, r=Neil
authorAndrew Schultz <ajschult@verizon.net>
Mon, 25 Aug 2008 00:03:44 -0400
changeset 184 640d8c75e1d0df3348c1affd8399776ee8756ec4
parent 183 13bf09e5b7dca5180b8e44f83635364566bcbefd
child 185 1aa84851a365c60a143446cc3dbccf981500be61
push idunknown
push userunknown
push dateunknown
reviewersNeil
bugs448185
Bug 448185: Fix linking with tracemalloc in comm-central, r=Neil
suite/app/Makefile.in
--- a/suite/app/Makefile.in
+++ b/suite/app/Makefile.in
@@ -126,23 +126,18 @@ endif
 NSDISTMODE = copy
 
 include $(topsrcdir)/config/config.mk
 
 ifdef _MSC_VER
 WIN32_EXE_LDFLAGS += -ENTRY:wmainCRTStartup
 endif
 
-ifndef BUILD_STATIC_LIBS
+ifdef BUILD_STATIC_LIBS
 
-ifdef NS_TRACE_MALLOC
-EXTRA_DSO_LIBS += tracemalloc
-endif
-
-else
 include $(topsrcdir)/config/static-config.mk
 
 EXTRA_DEPS	+= \
 	$(STATIC_EXTRA_DEPS) \
 	$(NULL)
 DEFINES		+= $(STATIC_DEFINES)
 CPPSRCS		+= $(STATIC_CPPSRCS)
 EXTRA_DSO_LIBS	+= $(STATIC_EXTRA_DSO_LIBS)