summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-03-12 06:09:05 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-03-12 06:09:05 +0000
commit096ba91bdcc4bcc2c0aad5e46236708678bf0360 (patch)
treeff0ab7513a92de1d3485744ab3f8001337ff03cf /tests
parentf3258dddca03a1b640d9d5c8bc786632534ec833 (diff)
Link with the libgmodule la only on Win32.
2001-03-12 Tor Lillqvist <tml@iki.fi> * tests/Makefile.am (libmoduletestplugin_b_la_LIBADD, libmoduletestplugin_b_la_LIBADD): Link with the libgmodule la only on Win32. 2001-03-12 Tor Lillqvist <tml@iki.fi> * Makefile.am (libgplugin_a_la_LIBADD, libgplugin_b_la_LIBADD): Link with the libgmodule la only on Win32.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5029d5132..b4dce6125 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -8,6 +8,7 @@ libgmodule = $(top_builddir)/gmodule/libgmodule-1.3.la
libgobject = $(top_builddir)/gobject/libgobject-1.3.la
if PLATFORM_WIN32
+libadd_libgmodule = $(libgmodule)
libadd_libglib = $(libglib)
no_undefined = -no-undefined
endif
@@ -91,11 +92,11 @@ install-libLTLIBRARIES:
libmoduletestplugin_a_la_SOURCES = libmoduletestplugin_a.c
libmoduletestplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
-libmoduletestplugin_a_la_LIBADD = @G_MODULE_LIBS@ $(libgmodule) $(libadd_libglib)
+libmoduletestplugin_a_la_LIBADD = @G_MODULE_LIBS@ $(libadd_libgmodule) $(libadd_libglib)
libmoduletestplugin_b_la_SOURCES = libmoduletestplugin_b.c
libmoduletestplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
-libmoduletestplugin_b_la_LIBADD = @G_MODULE_LIBS@ $(libgmodule) $(libadd_libglib)
+libmoduletestplugin_b_la_LIBADD = @G_MODULE_LIBS@ $(libadd_libgmodule) $(libadd_libglib)
makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.mingw.in
cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status