From 4ef07b2c6e7d4d444f8ec6ce93c27f7189b942a0 Mon Sep 17 00:00:00 2001 From: Travis Reitter Date: Thu, 23 Jun 2011 16:54:38 -0700 Subject: Link the tests against the appropriate libraries. This avoids some linking failures. Closes: bgo#653295 - json-glib tests need to link against libgobject-2 --- json-glib/tests/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'json-glib/tests') diff --git a/json-glib/tests/Makefile.am b/json-glib/tests/Makefile.am index ade35f7..ac39d76 100644 --- a/json-glib/tests/Makefile.am +++ b/json-glib/tests/Makefile.am @@ -12,7 +12,10 @@ INCLUDES = \ AM_CPPFLAGS = $(JSON_DEBUG_CFLAGS) -DTESTS_DATA_DIR=\""$(top_srcdir)/json-glib/tests"\" AM_CFLAGS = -g $(JSON_CFLAGS) $(MAINTAINER_CFLAGS) -LDADD = ../libjson-glib-1.0.la +LDADD = \ + ../libjson-glib-1.0.la \ + $(JSON_LIBS) \ + $(NULL) EXTRA_DIST += stream-load.json -- cgit v1.2.1