From 24ab144be229febc05b51817b343e3841f41bf7f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 28 Jan 2009 17:29:55 +0000 Subject: Use -no-undefined and link with more libs on Windows. 2009-01-28 Tor Lillqvist * Makefile.am: Use -no-undefined and link with more libs on Windows. svn path=/trunk/; revision=37152 --- plugins/save-attachments/ChangeLog | 5 +++++ plugins/save-attachments/Makefile.am | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/save-attachments/ChangeLog b/plugins/save-attachments/ChangeLog index a5dede852e..9980fdf13d 100644 --- a/plugins/save-attachments/ChangeLog +++ b/plugins/save-attachments/ChangeLog @@ -1,3 +1,8 @@ +2009-01-28 Tor Lillqvist + + * Makefile.am: Use -no-undefined and link with more libs on + Windows. + 2008-09-19 Sankar P License Changes diff --git a/plugins/save-attachments/Makefile.am b/plugins/save-attachments/Makefile.am index e3ebc9f9e5..05c724a4e4 100644 --- a/plugins/save-attachments/Makefile.am +++ b/plugins/save-attachments/Makefile.am @@ -1,3 +1,11 @@ +if OS_WIN32 +NO_UNDEFINED_REQUIRED_LIBS = \ + $(top_builddir)/mail/libevolution-mail.la \ + $(EVOLUTION_MAIL_LIBS) \ + $(GNOME_PLATFORM_LIBS) \ + $(top_builddir)/e-util/libeutil.la +endif + INCLUDES = \ -I$(top_srcdir) \ $(EVOLUTION_MAIL_CFLAGS) @@ -8,7 +16,12 @@ plugin_DATA = org-gnome-save-attachments.eplug org-gnome-save-attachments.xml plugin_LTLIBRARIES = liborg-gnome-save-attachments.la liborg_gnome_save_attachments_la_SOURCES = save-attachments.c -liborg_gnome_save_attachments_la_LDFLAGS = -module -avoid-version +liborg_gnome_save_attachments_la_LDFLAGS = -module \ + -avoid-version $(NO_UNDEFINED) + +liborg_gnome_save_attachments_la_LIBADD = \ + $(NO_UNDEFINED_REQUIRED_LIBS) + EXTRA_DIST = \ org-gnome-save-attachments.eplug.xml \ -- cgit v1.2.3