diff options
author | Tor Lillqvist <tml@iki.fi> | 2001-03-12 06:09:05 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2001-03-12 06:09:05 +0000 |
commit | 096ba91bdcc4bcc2c0aad5e46236708678bf0360 (patch) | |
tree | ff0ab7513a92de1d3485744ab3f8001337ff03cf /gmodule/Makefile.am | |
parent | f3258dddca03a1b640d9d5c8bc786632534ec833 (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 'gmodule/Makefile.am')
-rw-r--r-- | gmodule/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gmodule/Makefile.am b/gmodule/Makefile.am index b724fae25..a6838b96e 100644 --- a/gmodule/Makefile.am +++ b/gmodule/Makefile.am @@ -36,6 +36,7 @@ lib_LTLIBRARIES = libgmodule-1.3.la libgplugin_a.la libgplugin_b.la if PLATFORM_WIN32 libadd_libglib = $(libglib) +libadd_libgmodule = libgmodule-1.3.la no_undefined = -no-undefined endif if OS_WIN32 @@ -52,11 +53,11 @@ libgmodule_1_3_la_LIBADD = @G_MODULE_LIBS_EXTRA@ @G_MODULE_LIBS@ $(libadd_libgli libgplugin_a_la_SOURCES = libgplugin_a.c libgplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined) -libgplugin_a_la_LIBADD = @G_MODULE_LIBS@ @G_MODULE_LIBS_EXTRA@ @G_MODULE_PLUGIN_LIBS@ libgmodule-1.3.la $(libadd_libglib) +libgplugin_a_la_LIBADD = @G_MODULE_LIBS@ @G_MODULE_LIBS_EXTRA@ @G_MODULE_PLUGIN_LIBS@ $(libadd_libgmodule) $(libadd_libglib) libgplugin_b_la_SOURCES = libgplugin_b.c libgplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined) -libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ @G_MODULE_LIBS_EXTRA@ @G_MODULE_PLUGIN_LIBS@ libgmodule-1.3.la $(libadd_libglib) +libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ @G_MODULE_LIBS_EXTRA@ @G_MODULE_PLUGIN_LIBS@ $(libadd_libgmodule) $(libadd_libglib) noinst_PROGRAMS = testgmodule testgmodule_LDFLAGS += @G_MODULE_LDFLAGS@ |