[Libreoffice-commits] .: cppunit/makefile.mk
Tor Lillqvist
tml at kemper.freedesktop.org
Fri May 13 16:07:23 PDT 2011
cppunit/makefile.mk | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
New commits:
commit 32fb3acffe896f33aeea3e2427985f3c409d31a8
Author: Tor Lillqvist <tml at iki.fi>
Date: Sat May 14 02:06:01 2011 +0300
Mostly bypass when cross-compiling
Unfortunately it still untars the tarball. But at least nothing gets
built or delivered when cross-compiling.
diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk
index a842e42..df5256b 100644
--- a/cppunit/makefile.mk
+++ b/cppunit/makefile.mk
@@ -40,6 +40,8 @@ PATCH_FILES = solarisfinite.patch warnings.patch windows.patch ldflags.patch aix
# warnings.patch: see <https://sourceforge.net/tracker/?func=detail&
# aid=2912630&group_id=11795&atid=311795>
+.IF "$(CROSS_COMPILING)==""
+
.IF "$(OS)" == "WNT"
.IF "$(COM)" == "MSC"
@@ -93,10 +95,6 @@ OUT2BIN = ooo-install/bin/DllPlugInTester.exe \
ooo-install/bin/cygcppunit-1-12-1.dll
OUT2LIB = ooo-install/lib/libcppunit.dll.a
-.INCLUDE: set_ext.mk
-.INCLUDE: target.mk
-.INCLUDE: tg_ext.mk
-
.ENDIF # "$(COM)" == "GCC"
.ENDIF # "$(COM)" == "MSC"
@@ -136,8 +134,9 @@ OUT2LIB = ooo-install/lib/libcppunit-1.12.so.1.0
OUT2LIB = ooo-install/lib/libcppunit-1.12.so.1
.END
+.END
+.ENDIF
+
.INCLUDE: set_ext.mk
.INCLUDE: target.mk
.INCLUDE: tg_ext.mk
-
-.END
More information about the Libreoffice-commits
mailing list