summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2005-06-14 20:32:05 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2005-06-14 20:32:05 +0000
commit526cb25b7aeba90c8f5b93d74d713d0af79a3bd2 (patch)
tree8504d067383cdcac6baa2fd802dc4044266e6d64
parent2777d462a0ed2c1b3ad5f183ec6d4094d3f26db4 (diff)
downloadcppunit-526cb25b7aeba90c8f5b93d74d713d0af79a3bd2.tar.gz
MinGW, cygwin: enable build of shared library when using libtool. patch #1194394 contributed by Stéphane Fillod.
-rw-r--r--ChangeLog4
-rw-r--r--NEWS3
-rw-r--r--configure.in1
-rw-r--r--src/cppunit/Makefile.am4
4 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5976223..f5458b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
* src/msvc6/testrunner/ProgressBar.cpp: applied patch from bug #1165875,
(use system color for border instead of hard-coded color).
+ * src/cppunit/Makefile.am:
+ * configure.in: MinGW, cygwin: enable build of shared library when using
+ libtool. patch #1194394 contributed by Stéphane Fillod.
+
2005-02-23 Baptiste Lepilleur <gaiacrtn@free.fr>
* examples/hierarchy/BoardGameTest.h:
diff --git a/NEWS b/NEWS
index 468accc..4b3c4cc 100644
--- a/NEWS
+++ b/NEWS
@@ -54,6 +54,9 @@
- MinGW: patch #1024428 contributed by astar, fixed compilation issue in
Win32DynamicLibraryManager.cpp.
+ - MinGW, cygwin: enable build of shared library when using libtool.
+ patch #1194394 contributed by Stéphane Fillod.
+
* Bug Fix:
- cppunit.m4: patch #946302, AM_PATH_CPPUNIT doesn't report result
diff --git a/configure.in b/configure.in
index df7a364..e7f36c9 100644
--- a/configure.in
+++ b/configure.in
@@ -57,6 +57,7 @@ AC_PROG_CC
AC_PROG_CXX
AC_LANG(C++)
+AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
# check for dlopen,dlsym... or shl_load, shl_findsym...
diff --git a/src/cppunit/Makefile.am b/src/cppunit/Makefile.am
index cdb03ce..c03b78e 100644
--- a/src/cppunit/Makefile.am
+++ b/src/cppunit/Makefile.am
@@ -1,5 +1,5 @@
#
-# $Id: Makefile.am,v 1.43 2003-05-07 20:07:17 blep Exp $
+# $Id: Makefile.am,v 1.44 2005-06-14 21:28:46 blep Exp $
#
EXTRA_DIST = cppunit.dsp cppunit_dll.dsp DllMain.cpp
@@ -62,6 +62,6 @@ libcppunit_la_SOURCES = \
Win32DynamicLibraryManager.cpp
libcppunit_la_LDFLAGS= \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-release $(LT_RELEASE)