aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2009-01-29 01:27:47 +0800
committerTor Lillqvist <tml@src.gnome.org>2009-01-29 01:27:47 +0800
commitefc7b4570b9a2da63c19b66b207dd1f3b2aa5cd6 (patch)
treeb7ed7eee779fc5ea50d8328093fd3b76ba837746
parentaf20d5634343bba3ac1fa57888db86c29b07a868 (diff)
downloadgsoc2013-evolution-efc7b4570b9a2da63c19b66b207dd1f3b2aa5cd6.tar
gsoc2013-evolution-efc7b4570b9a2da63c19b66b207dd1f3b2aa5cd6.tar.gz
gsoc2013-evolution-efc7b4570b9a2da63c19b66b207dd1f3b2aa5cd6.tar.bz2
gsoc2013-evolution-efc7b4570b9a2da63c19b66b207dd1f3b2aa5cd6.tar.lz
gsoc2013-evolution-efc7b4570b9a2da63c19b66b207dd1f3b2aa5cd6.tar.xz
gsoc2013-evolution-efc7b4570b9a2da63c19b66b207dd1f3b2aa5cd6.tar.zst
gsoc2013-evolution-efc7b4570b9a2da63c19b66b207dd1f3b2aa5cd6.zip
Use -no-undefined and link with GNOME_PLATFORM_LIBS on Windows.
2009-01-28 Tor Lillqvist <tml@novell.com> * Makefile.am: Use -no-undefined and link with GNOME_PLATFORM_LIBS on Windows. svn path=/trunk/; revision=37151
-rw-r--r--plugins/mail-notification/ChangeLog5
-rw-r--r--plugins/mail-notification/Makefile.am10
2 files changed, 13 insertions, 2 deletions
diff --git a/plugins/mail-notification/ChangeLog b/plugins/mail-notification/ChangeLog
index 96c5abc9e4..c08225cdda 100644
--- a/plugins/mail-notification/ChangeLog
+++ b/plugins/mail-notification/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-28 Tor Lillqvist <tml@novell.com>
+
+ * Makefile.am: Use -no-undefined and link with GNOME_PLATFORM_LIBS
+ on Windows.
+
2008-11-19 Srinivasa Ragavan <sragavan@novell.com>
* mail-notification.c: Fix compilation error.
diff --git a/plugins/mail-notification/Makefile.am b/plugins/mail-notification/Makefile.am
index 80b4fbcc98..627fd93bed 100644
--- a/plugins/mail-notification/Makefile.am
+++ b/plugins/mail-notification/Makefile.am
@@ -1,3 +1,7 @@
+if OS_WIN32
+NO_UNDEFINED_REQUIRED_LIBS = $(GNOME_PLATFORM_LIBS)
+endif
+
INCLUDES = \
-I$(top_srcdir) \
$(EVOLUTION_MAIL_CFLAGS) \
@@ -16,8 +20,10 @@ plugin_LTLIBRARIES = liborg-gnome-mail-notification.la
liborg_gnome_mail_notification_la_SOURCES = mail-notification.c
liborg_gnome_mail_notification_la_LDFLAGS = \
- -module -avoid-version \
- $(LIBNOTIFY_LIBS)
+ -module -avoid-version $(NO_UNDEFINED)
+liborg_gnome_mail_notification_la_LIBADD = \
+ $(LIBNOTIFY_LIBS) \
+ $(NO_UNDEFINED_REQUIRED_LIBS)
if ENABLE_DBUS
liborg_gnome_mail_notification_la_LDFLAGS += $(NMN_LIBS)