diff --git a/mozilla/xpcom/base/makefile.win b/mozilla/xpcom/base/makefile.win index 59b70f5caa9..9dc97f944ee 100644 --- a/mozilla/xpcom/base/makefile.win +++ b/mozilla/xpcom/base/makefile.win @@ -72,6 +72,9 @@ CPP_OBJS = \ .\$(OBJDIR)\nsID.obj \ .\$(OBJDIR)\nsTraceRefcnt.obj \ .\$(OBJDIR)\nsWeakReference.obj \ +!ifdef GC_LEAK_DETECTOR + .\$(OBJDIR)\nsGarbageCollector.obj \ +!endif $(NULL) include <$(DEPTH)\config\rules.mak> diff --git a/mozilla/xpcom/build/makefile.win b/mozilla/xpcom/build/makefile.win index 884e346d22a..0e9bf92c21c 100644 --- a/mozilla/xpcom/build/makefile.win +++ b/mozilla/xpcom/build/makefile.win @@ -76,6 +76,9 @@ LLIBS = \ WIN_LIBS = \ shell32.lib \ ole32.lib \ +!ifdef GC_LEAK_DETECTOR + $(DIST)\lib\boehm.lib \ +!endif !if defined(MOZ_DEBUG) imagehlp.lib \ !endif