aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-attachments
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-01 03:03:12 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-01 03:03:12 +0800
commitfee5916b60c605ff5086d8fdc2a85c5ea21351f6 (patch)
tree4feaede1cf070448a32bd0ab846908e47747ceb7 /plugins/save-attachments
parentcd5ff486fb02451645f8b4b39608edca2da5e4a2 (diff)
downloadgsoc2013-evolution-fee5916b60c605ff5086d8fdc2a85c5ea21351f6.tar
gsoc2013-evolution-fee5916b60c605ff5086d8fdc2a85c5ea21351f6.tar.gz
gsoc2013-evolution-fee5916b60c605ff5086d8fdc2a85c5ea21351f6.tar.bz2
gsoc2013-evolution-fee5916b60c605ff5086d8fdc2a85c5ea21351f6.tar.lz
gsoc2013-evolution-fee5916b60c605ff5086d8fdc2a85c5ea21351f6.tar.xz
gsoc2013-evolution-fee5916b60c605ff5086d8fdc2a85c5ea21351f6.tar.zst
gsoc2013-evolution-fee5916b60c605ff5086d8fdc2a85c5ea21351f6.zip
Merge revisions 37108:37199 from trunk.
svn path=/branches/kill-bonobo/; revision=37200
Diffstat (limited to 'plugins/save-attachments')
-rw-r--r--plugins/save-attachments/ChangeLog5
-rw-r--r--plugins/save-attachments/Makefile.am15
2 files changed, 19 insertions, 1 deletions
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 <tml@novell.com>
+
+ * Makefile.am: Use -no-undefined and link with more libs on
+ Windows.
+
2008-09-19 Sankar P <psankar@novell.com>
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 \