From 762a32a2c10771fc0128cda94e6d83cff3dfbf5f Mon Sep 17 00:00:00 2001 From: "benjamin@smedbergs.us" Date: Fri, 13 Apr 2007 10:33:56 -0700 Subject: [PATCH] From bug 372831 - don't build the test program when libxul is enabled, for linkage reasons --- toolkit/airbag/test/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolkit/airbag/test/Makefile.in b/toolkit/airbag/test/Makefile.in index 8a34d4b081f..81094e7f160 100644 --- a/toolkit/airbag/test/Makefile.in +++ b/toolkit/airbag/test/Makefile.in @@ -42,9 +42,11 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk +ifndef MOZ_ENABLE_LIBXUL PROGRAM = TestCrashReporterAPI$(BIN_SUFFIX) CPPSRCS = TestCrashReporterAPI.cpp +endif REQUIRES = \ xpcom \ @@ -73,5 +75,7 @@ endif OS_LIBS += $(call EXPAND_LIBNAME,ole32) +ifndef MOZ_ENABLE_LIBXUL check:: $(PROGRAM) $(RUN_TEST_PROGRAM) $(DIST)/bin/TestCrashReporterAPI +endif