We should check OS_FOR_BUILD here

Not that it matters as we obviously don't run any cppunit tests when
cross-compiling anyway... But in theory, this is needed if we would
cross-compile *from* Windows. Crazy idea, over my dead body, sure.
This commit is contained in:
Tor Lillqvist
2011-10-05 17:29:48 +03:00
parent 2531a461df
commit 67cf8e78f3

View File

@@ -58,7 +58,7 @@ gb_CppunitTest_CPPTESTCOMMAND := $(gb_CppunitTest_CPPTESTPRECOMMAND) STAR_RESOUR
gb_CppunitTest__get_linktargetname = CppunitTest/$(call gb_CppunitTest_get_filename,$(1))
# TODO: move this to platform under suitable name
gb_CppunitTarget__make_url = file://$(if $(filter WNT,$(OS)),/)$(1)
gb_CppunitTarget__make_url = file://$(if $(filter WNT,$(OS_FOR_BUILD)),/)$(1)
gb_CppunitTest__get_uno_type_target = $(OUTDIR)/bin/$(1).rdb
define gb_CppunitTest__make_args