On Win32, create separate .exp file for module-test.o and link with that.

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.
This commit is contained in:
Tor Lillqvist 2001-11-03 23:19:25 +00:00 committed by Tor Lillqvist
parent 5981d6fe6b
commit 90bb210e1e
9 changed files with 54 additions and 1 deletions

View 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> 2001-11-03 Hans Breuer <hans@breuer.org>
* glib/giowin32.c : static correctness * glib/giowin32.c : static correctness

View 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> 2001-11-03 Hans Breuer <hans@breuer.org>
* glib/giowin32.c : static correctness * glib/giowin32.c : static correctness

View 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> 2001-11-03 Hans Breuer <hans@breuer.org>
* glib/giowin32.c : static correctness * glib/giowin32.c : static correctness

View 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> 2001-11-03 Hans Breuer <hans@breuer.org>
* glib/giowin32.c : static correctness * glib/giowin32.c : static correctness

View 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> 2001-11-03 Hans Breuer <hans@breuer.org>
* glib/giowin32.c : static correctness * glib/giowin32.c : static correctness

View 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> 2001-11-03 Hans Breuer <hans@breuer.org>
* glib/giowin32.c : static correctness * glib/giowin32.c : static correctness

View 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> 2001-11-03 Hans Breuer <hans@breuer.org>
* glib/giowin32.c : static correctness * glib/giowin32.c : static correctness

View 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> 2001-11-03 Hans Breuer <hans@breuer.org>
* glib/giowin32.c : static correctness * glib/giowin32.c : static correctness

View File

@ -11,6 +11,11 @@ if PLATFORM_WIN32
libadd_libgmodule = $(libgmodule) libadd_libgmodule = $(libgmodule)
libadd_libglib = $(libglib) libadd_libglib = $(libglib)
no_undefined = -no-undefined 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 endif
EXTRA_DIST = \ EXTRA_DIST = \
@ -105,7 +110,7 @@ iochannel_test_LDADD = $(progs_LDADD)
list_test_LDADD = $(progs_LDADD) list_test_LDADD = $(progs_LDADD)
mainloop_test_LDADD = $(thread_LDADD) mainloop_test_LDADD = $(thread_LDADD)
markup_test_LDADD = $(progs_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@ module_test_LDFLAGS = @G_MODULE_LDFLAGS@
node_test_LDADD = $(progs_LDADD) node_test_LDADD = $(progs_LDADD)
queue_test_LDADD = $(progs_LDADD) queue_test_LDADD = $(progs_LDADD)