evolution r37151 - trunk/plugins/mail-notification



Author: tml
Date: Wed Jan 28 17:27:47 2009
New Revision: 37151
URL: http://svn.gnome.org/viewvc/evolution?rev=37151&view=rev

Log:
2009-01-28  Tor Lillqvist  <tml novell com>

	* Makefile.am: Use -no-undefined and link with GNOME_PLATFORM_LIBS
	on Windows.



Modified:
   trunk/plugins/mail-notification/ChangeLog
   trunk/plugins/mail-notification/Makefile.am

Modified: trunk/plugins/mail-notification/Makefile.am
==============================================================================
--- trunk/plugins/mail-notification/Makefile.am	(original)
+++ trunk/plugins/mail-notification/Makefile.am	Wed Jan 28 17:27:47 2009
@@ -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 @@
 
 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]