From 3bfe9497a68753c12c6cef695595b9993d3fef21 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 3 Jun 2009 19:22:16 +0200 Subject: Add libraries to LIBADD so that -no-undefined on win32 works well. --- plugins/bbdb/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'plugins/bbdb') diff --git a/plugins/bbdb/Makefile.am b/plugins/bbdb/Makefile.am index 1bf7604e92..481d465887 100644 --- a/plugins/bbdb/Makefile.am +++ b/plugins/bbdb/Makefile.am @@ -1,3 +1,10 @@ +if OS_WIN32 +NO_UNDEFINED_REQUIRED_LIBS = \ + $(top_builddir)/mail/libevolution-mail.la \ + $(top_builddir)/e-util/libeutil.la \ + $(GNOME_PLATFORM_LIBS) +endif + INCLUDES = \ -I$(top_builddir)/composer \ -I$(top_srcdir) \ @@ -14,7 +21,8 @@ liborg_gnome_evolution_bbdb_la_SOURCES = bbdb.c bbdb.h gaimbuddies.c liborg_gnome_evolution_bbdb_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) liborg_gnome_evolution_bbdb_la_LIBADD = \ $(top_builddir)/e-util/libeutil.la \ - $(EVOLUTION_ADDRESSBOOK_LIBS) + $(EVOLUTION_ADDRESSBOOK_LIBS) \ + $(NO_UNDEFINED_REQUIRED_LIBS) EXTRA_DIST = org-gnome-evolution-bbdb.eplug.xml -- cgit v1.2.3