[Libreoffice-commits] core.git: solenv/gbuild
Michael Stahl
mstahl at redhat.com
Wed Oct 23 16:21:07 PDT 2013
solenv/gbuild/platform/com_MSC_class.mk | 2 +-
solenv/gbuild/platform/macosx.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7a713939e327edd4161e55a61972fa7bea05ec02
Author: Michael Stahl <mstahl at redhat.com>
Date: Thu Oct 24 01:16:09 2013 +0200
gbuild: try to un-break cppunit tests on MACOSX and WNT
Change-Id: I174c113dcaf31a09026d6620e8183b756396c4f1
diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk
index cd43a72..55776b3 100644
--- a/solenv/gbuild/platform/com_MSC_class.mk
+++ b/solenv/gbuild/platform/com_MSC_class.mk
@@ -387,7 +387,7 @@ endef
gb_CppunitTest_DEFS := -D_DLL
# cppunittester.exe is in the cppunit subdirectory of ${OUTDIR}/bin,
# thus it won't find its DLLs unless ${OUTDIR}/bin is added to PATH.
-gb_CppunitTest_CPPTESTPRECOMMAND := $(gb_Helper_set_ld_path):"$(shell cygpath -w $(gb_Library_DLLDIR)):$(shell cygpath -w $(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/(if $(MSVC_USE_DEBUG_RUNTIME),DebugDll,ReleaseDll))"
+gb_CppunitTest_CPPTESTPRECOMMAND := $(gb_Helper_set_ld_path):"$(shell cygpath -w $(gb_Library_DLLDIR)):$(shell cygpath -w $(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/$(if $(MSVC_USE_DEBUG_RUNTIME),DebugDll,ReleaseDll))"
gb_CppunitTest_get_filename = test_$(1).dll
gb_CppunitTest_get_ilibfilename = itest_$(1).lib
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index 3408dce..03e65ad 100644
--- a/solenv/gbuild/platform/macosx.mk
+++ b/solenv/gbuild/platform/macosx.mk
@@ -279,7 +279,7 @@ endef
# CppunitTest class
gb_CppunitTest_CPPTESTPRECOMMAND := \
- $(call gb_Helper_extend_ld_path,$(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/.libs)
+ $(call gb_Helper_extend_ld_path,$(gb_Library_DLLDIR) $(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/.libs)
gb_CppunitTest_get_filename = libtest_$(1).dylib
gb_CppunitTest_get_ilibfilename = $(gb_CppunitTest_get_filename)
More information about the Libreoffice-commits
mailing list