From 16f59d89cbde336a26a99db12846fbf730684489 Mon Sep 17 00:00:00 2001 From: Jeff Walden Date: Wed, 3 Dec 2008 23:56:34 -0800 Subject: [PATCH] Bug 397227 - Try to fix bustage on Linux leak test tinderbox, r=redness --- config/rules.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rules.mk b/config/rules.mk index 90db46bce0a..afa85e3f375 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -197,7 +197,11 @@ ifdef CPP_UNIT_TESTS CPPSRCS += $(CPP_UNIT_TESTS) SIMPLE_PROGRAMS += $(CPP_UNIT_TESTS:.cpp=$(BIN_SUFFIX)) REQUIRES += testing xpcom +ifndef MOZ_ENABLE_LIBXUL LIBS += $(XPCOM_LIBS) $(XPCOM_GLUE_LDOPTS) $(NSPR_LIBS) +else +LIBS += $(XPCOM_LIBS) $(XPCOM_STANDALONE_GLUE_LDOPTS) $(NSPR_LIBS) +endif # ...and run them the usual way check::