From 8eb1c1345b48d9719fecb92e35f86c260a74c820 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 10 May 2010 12:17:55 +0100 Subject: fd.o #28043: explicitly link tests/* against dbus-glib This fixes compilation with LDFLAGS=-Wl,--no-add-needed, with GNU gold (where this is the default), and hopefully with recent Fedora (where this appears to be the default for ld too). When the last round of Debian "fails to build with GNU gold" reports came in, nothing in tests/ used libdbus or dbus-glib. However, the test for gnio-utils needs the dbus-glib specialized type system, even though it doesn't actually connect to D-Bus, so it needs to be linked accordingly. Reviewed-by: Guillaume Desmottes --- tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index 502167d58..01f66510d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -100,6 +100,7 @@ check-local: check-coding-style LDADD = \ $(top_builddir)/telepathy-glib/libtelepathy-glib.la \ + $(DBUS_LIBS) \ $(GLIB_LIBS) AM_CFLAGS = \ -- cgit v1.2.3