evolution r37152 - trunk/plugins/save-attachments



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

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

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



Modified:
   trunk/plugins/save-attachments/ChangeLog
   trunk/plugins/save-attachments/Makefile.am

Modified: trunk/plugins/save-attachments/Makefile.am
==============================================================================
--- trunk/plugins/save-attachments/Makefile.am	(original)
+++ trunk/plugins/save-attachments/Makefile.am	Wed Jan 28 17:29:55 2009
@@ -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_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	\



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