From bug 372831 - don't build the test program when libxul is enabled, for linkage reasons

This commit is contained in:
benjamin@smedbergs.us 2007-04-13 10:33:56 -07:00
parent f6d993017e
commit 762a32a2c1

View File

@ -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