aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2009-01-29 01:29:55 +0800
committerTor Lillqvist <tml@src.gnome.org>2009-01-29 01:29:55 +0800
commit24ab144be229febc05b51817b343e3841f41bf7f (patch)
treeba78862849baf18eec82f9fada63c10e1386eb08 /plugins
parentefc7b4570b9a2da63c19b66b207dd1f3b2aa5cd6 (diff)
downloadgsoc2013-evolution-24ab144be229febc05b51817b343e3841f41bf7f.tar.gz
gsoc2013-evolution-24ab144be229febc05b51817b343e3841f41bf7f.tar.zst
gsoc2013-evolution-24ab144be229febc05b51817b343e3841f41bf7f.zip
Use -no-undefined and link with more libs on Windows.
2009-01-28 Tor Lillqvist <tml@novell.com> * Makefile.am: Use -no-undefined and link with more libs on Windows. svn path=/trunk/; revision=37152
Diffstat (limited to 'plugins')
-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 \