[telepathy-glib/master] fd.o#25122: explicitly link against needed libraries (Debian#556486)

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Nov 16 06:14:04 PST 2009


This fixes failure to link with binutils-gold.
---
 tests/dbus/Makefile.am |    1 +
 tests/lib/Makefile.am  |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tests/dbus/Makefile.am b/tests/dbus/Makefile.am
index 142c149..7fc5d4b 100644
--- a/tests/dbus/Makefile.am
+++ b/tests/dbus/Makefile.am
@@ -44,6 +44,7 @@ TESTS = $(noinst_PROGRAMS)
 LDADD = \
     $(top_builddir)/telepathy-glib/libtelepathy-glib.la \
     $(top_builddir)/tests/lib/libtp-glib-tests.la \
+    $(DBUS_LIBS) \
     $(GLIB_LIBS)
 
 test_account_SOURCES = account.c
diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am
index 6d7f03e..6da7513 100644
--- a/tests/lib/Makefile.am
+++ b/tests/lib/Makefile.am
@@ -35,3 +35,8 @@ AM_CFLAGS = \
     $(DBUS_CFLAGS) \
     $(GLIB_CFLAGS) \
     $(TP_GLIB_CFLAGS)
+
+libtp_glib_tests_la_LIBADD = \
+    $(DBUS_LIBS) \
+    $(GLIB_LIBS) \
+    $(top_builddir)/telepathy-glib/libtelepathy-glib.la
-- 
1.5.6.5




More information about the telepathy-commits mailing list