Fix shutdown crash on static builds (bug 196507) by ensuring that ENABLE_STATIC_COMPONENT_LOADER is #define'd when the component manager is created, so that the correct amount of memory is allocated. r=dougt, sr=alecf.

This commit is contained in:
bryner%netscape.com 2003-03-10 07:01:49 +00:00
parent 06d44dbda8
commit 4fa9e2a306

View File

@ -125,6 +125,10 @@ DEFINES += \
-DEXPORT_XPTC_API \
-DEXPORT_XPTI_API
ifdef MOZ_STATIC_COMPONENT_LIBS
DEFINES += -DENABLE_STATIC_COMPONENT_LOADER=1
endif
EXTRA_DSO_LDOPTS += $(NSPR_LIBS)
ifdef GC_LEAK_DETECTOR