On Win32, create separate .exp file for module-test.o and link with that.
authorTor Lillqvist <tml@iki.fi>
Sat, 3 Nov 2001 23:19:25 +0000 (23:19 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 3 Nov 2001 23:19:25 +0000 (23:19 +0000)
2001-11-04  Tor Lillqvist  <tml@iki.fi>

* tests/Makefile.am: On Win32, create separate .exp file for
module-test.o and link with that. Otherwise the GNU linker doesn't
export the g_clash_func.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
tests/Makefile.am

index 2e0bb43..6d0d52c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-11-04  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/Makefile.am: On Win32, create separate .exp file for
+       module-test.o and link with that. Otherwise the GNU linker doesn't
+       export the g_clash_func.
+
 2001-11-03  Hans Breuer  <hans@breuer.org>
 
        * glib/giowin32.c : static correctness
index 2e0bb43..6d0d52c 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-04  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/Makefile.am: On Win32, create separate .exp file for
+       module-test.o and link with that. Otherwise the GNU linker doesn't
+       export the g_clash_func.
+
 2001-11-03  Hans Breuer  <hans@breuer.org>
 
        * glib/giowin32.c : static correctness
index 2e0bb43..6d0d52c 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-04  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/Makefile.am: On Win32, create separate .exp file for
+       module-test.o and link with that. Otherwise the GNU linker doesn't
+       export the g_clash_func.
+
 2001-11-03  Hans Breuer  <hans@breuer.org>
 
        * glib/giowin32.c : static correctness
index 2e0bb43..6d0d52c 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-04  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/Makefile.am: On Win32, create separate .exp file for
+       module-test.o and link with that. Otherwise the GNU linker doesn't
+       export the g_clash_func.
+
 2001-11-03  Hans Breuer  <hans@breuer.org>
 
        * glib/giowin32.c : static correctness
index 2e0bb43..6d0d52c 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-04  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/Makefile.am: On Win32, create separate .exp file for
+       module-test.o and link with that. Otherwise the GNU linker doesn't
+       export the g_clash_func.
+
 2001-11-03  Hans Breuer  <hans@breuer.org>
 
        * glib/giowin32.c : static correctness
index 2e0bb43..6d0d52c 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-04  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/Makefile.am: On Win32, create separate .exp file for
+       module-test.o and link with that. Otherwise the GNU linker doesn't
+       export the g_clash_func.
+
 2001-11-03  Hans Breuer  <hans@breuer.org>
 
        * glib/giowin32.c : static correctness
index 2e0bb43..6d0d52c 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-04  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/Makefile.am: On Win32, create separate .exp file for
+       module-test.o and link with that. Otherwise the GNU linker doesn't
+       export the g_clash_func.
+
 2001-11-03  Hans Breuer  <hans@breuer.org>
 
        * glib/giowin32.c : static correctness
index 2e0bb43..6d0d52c 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-04  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/Makefile.am: On Win32, create separate .exp file for
+       module-test.o and link with that. Otherwise the GNU linker doesn't
+       export the g_clash_func.
+
 2001-11-03  Hans Breuer  <hans@breuer.org>
 
        * glib/giowin32.c : static correctness
index 022b05b..94b26b8 100644 (file)
@@ -11,6 +11,11 @@ if PLATFORM_WIN32
 libadd_libgmodule = $(libgmodule)
 libadd_libglib = $(libglib)
 no_undefined = -no-undefined
+
+module_test_exp = module-test.exp
+
+module-test.exp: module-test.o
+       dlltool --output-exp module-test.exp module-test.o
 endif
 
 EXTRA_DIST =                                   \
@@ -105,7 +110,7 @@ iochannel_test_LDADD = $(progs_LDADD)
 list_test_LDADD = $(progs_LDADD)
 mainloop_test_LDADD = $(thread_LDADD)
 markup_test_LDADD = $(progs_LDADD)
-module_test_LDADD = $(module_LDADD)
+module_test_LDADD = $(module_LDADD) $(module_test_exp)
 module_test_LDFLAGS = @G_MODULE_LDFLAGS@
 node_test_LDADD = $(progs_LDADD)
 queue_test_LDADD = $(progs_LDADD)