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 17:33:56 +00:00
Родитель 300dde690e
Коммит 4a0046761b
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

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