Attempt to make trace-malloc build correctly with libxul (as a part of it).

This commit is contained in:
dbaron@dbaron.org 2007-08-19 18:06:27 -07:00
parent 84c375636f
commit e6ad8a7bbd
2 changed files with 4 additions and 1 deletions

View File

@ -166,9 +166,12 @@ GARBAGE += \
endif
else
ifdef NS_TRACE_MALLOC
# In libxul builds, tracemalloc is part of libxul instead.
ifndef MOZ_ENABLE_LIBXUL
EXTRA_DSO_LIBS += tracemalloc
endif
endif
endif
ifneq (,$(filter OS2 WINCE WINNT,$(OS_ARCH)))
SDK_LIBRARY = $(IMPORT_LIBRARY)

View File

@ -339,5 +339,5 @@ EXTRA_DSO_LIBS += boehm
endif
ifdef NS_TRACE_MALLOC
EXTRA_DSO_LIBS += tracemalloc
STATIC_LIBS += tracemalloc
endif