summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-05 17:29:48 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-05 17:39:14 +0300
commit67cf8e78f3dd964e8eff63a7a20c3a6b8fb9fac9 (patch)
tree10ca519d8401b74fa0252e81221140566f9e07a6 /solenv
parent2531a461df4ba325128b63c60d4bd2bc80660e92 (diff)
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.
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/CppunitTest.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index 52ce59606e2e..fabe4d571520 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -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