[Pkg-telepathy-commits] [telepathy-mission-control-6] 07/90: tests: link plugin libraries to their dependencies

Simon McVittie smcv at debian.org
Wed May 14 12:08:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-mission-control-6.

commit 4b94612f305e4e4991e863db1a6ff837bf06cf6b
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Mar 26 08:10:17 2014 +0000

    tests: link plugin libraries to their dependencies
---
 tests/twisted/Makefile.am | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index 9d754f8..68e42cc 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -186,7 +186,7 @@ plugins_list = \
 	libgiofakenetworkmonitor.la \
 	$(NULL)
 
-plugin_ldflags = -module -shared -avoid-version
+plugin_ldflags = -module -shared -avoid-version -no-undefined
 
 if ENABLE_INSTALLED_TESTS
 
@@ -214,14 +214,29 @@ mcp_plugin_la_SOURCES = \
 	dbus-account-plugin.h \
 	mcp-plugin.c \
 	$(NULL)
+mcp_plugin_la_LIBADD = \
+	$(top_builddir)/mission-control-plugins/libmission-control-plugins-6.la \
+	$(TELEPATHY_LIBS) \
+	$(DBUS_LIBS) \
+	$(GLIB_LIBS) \
+	$(NULL)
 mcp_plugin_la_LDFLAGS = $(plugin_ldflags)
 
 libgiofakenetworkmonitor_la_SOURCES = \
 	fake-network-monitor.c \
 	$(NULL)
+libgiofakenetworkmonitor_la_LIBADD = \
+	$(GLIB_LIBS) \
+	$(NULL)
 libgiofakenetworkmonitor_la_LDFLAGS = $(plugin_ldflags)
 
 mcp_account_diversion_la_SOURCES = mcp-account-diversion.c
+mcp_account_diversion_la_LIBADD = \
+	$(top_builddir)/mission-control-plugins/libmission-control-plugins-6.la \
+	$(TELEPATHY_LIBS) \
+	$(DBUS_LIBS) \
+	$(GLIB_LIBS) \
+	$(NULL)
 mcp_account_diversion_la_LDFLAGS = $(plugin_ldflags)
 
 # A debug version of the normal MC executable, which exits cleanly on

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git



More information about the Pkg-telepathy-commits mailing list