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/audio-inline/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'plugins/audio-inline') diff --git a/plugins/audio-inline/Makefile.am b/plugins/audio-inline/Makefile.am index 73e0b988d6..006b39f3c8 100644 --- a/plugins/audio-inline/Makefile.am +++ b/plugins/audio-inline/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_srcdir) \ $(EVOLUTION_MAIL_CFLAGS) \ @@ -12,7 +19,8 @@ liborg_gnome_audio_inline_la_SOURCES = audio-inline.c liborg_gnome_audio_inline_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) liborg_gnome_audio_inline_la_LIBADD = \ $(GSTREAMER_LIBS) \ - $(EVOLUTION_MAIL_LIBS) + $(EVOLUTION_MAIL_LIBS) \ + $(NO_UNDEFINED_REQUIRED_LIBS) EXTRA_DIST = org-gnome-audio-inline.eplug.xml -- cgit