summaryrefslogtreecommitdiff
path: root/cppunit
diff options
context:
space:
mode:
authortono <tono@openoffice.org>2010-06-05 22:39:55 +0900
committertono <tono@openoffice.org>2010-06-05 22:39:55 +0900
commitaf97d059b737971d50e261c65c1097f319dae6e2 (patch)
tree0b21b620a94deaad19736433f38a6343be698f75 /cppunit
parentb55fa7959fa6fde0c7cdb469850068b5fbb8ecb7 (diff)
parent8c29919ec8428c9cbb2a1c8a7dad4dfcd232af5c (diff)
mingwport30: merge with DEV300 m80
Diffstat (limited to 'cppunit')
-rw-r--r--cppunit/ldflags.patch10
-rw-r--r--cppunit/makefile.mk4
2 files changed, 12 insertions, 2 deletions
diff --git a/cppunit/ldflags.patch b/cppunit/ldflags.patch
new file mode 100644
index 000000000000..cecd69a4b5ee
--- /dev/null
+++ b/cppunit/ldflags.patch
@@ -0,0 +1,10 @@
+--- misc/cppunit-1.12.1/src/cppunit/Makefile.am Wed Feb 20 06:36:38 2008
++++ misc/build/cppunit-1.12.1/src/cppunit/Makefile.am Mon May 3 17:00:41 2010
+@@ -63,5 +63,6 @@
+
+ libcppunit_la_LDFLAGS= \
+ -no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+- -release $(LT_RELEASE)
++ -release $(LT_RELEASE) \
++ @LIBADD_DL@
+
diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk
index cd96f3bf2707..0ec7fcb696d6 100644
--- a/cppunit/makefile.mk
+++ b/cppunit/makefile.mk
@@ -34,7 +34,7 @@ TARFILE_MD5=bd30e9cf5523cdfc019b94f5e1d7fd19
# from <https://sourceforge.net/projects/cppunit/files/cppunit/1.12.1/
# cppunit-1.12.1.tar.gz/download>
-PATCH_FILES = solarisfinite.patch warnings.patch windows.patch
+PATCH_FILES = solarisfinite.patch warnings.patch windows.patch ldflags.patch
# solarisfinite.patch: see <https://sourceforge.net/tracker/?func=detail&
# aid=2912590&group_id=11795&atid=311795>
# warnings.patch: see <https://sourceforge.net/tracker/?func=detail&
@@ -102,7 +102,7 @@ OOO_STLPORT_LIBS += -lm
# execute that program; however, the program would fail to locate the STLport
# library (another work-around might be to add something like --as-needed around
# $(LIBSTLPORT)):
-.IF "$(OS)" == "LINUX" || "$(OS)" == "SOLARIS"
+.IF "$(OS)" == "FREEBSD" || "$(OS)" == "LINUX" || "$(OS)" == "SOLARIS"
.IF "$(LD_LIBRARY_PATH)" == ""
LD_LIBRARY_PATH := $(SOLARLIBDIR)
# strictly speaking, this is incorrect if the LD_LIBRARY_PATH environment