summaryrefslogtreecommitdiff
path: root/json-glib/tests
diff options
context:
space:
mode:
authorTravis Reitter <treitter@gmail.com>2011-06-23 16:54:38 -0700
committerTravis Reitter <treitter@gmail.com>2011-06-24 07:48:59 -0700
commit4ef07b2c6e7d4d444f8ec6ce93c27f7189b942a0 (patch)
tree01cc406ec797728dfd30732ea8733a6bd3028ae3 /json-glib/tests
parentc9ac9ce2d417210ccb06d0445a809ce9cd57c7a5 (diff)
downloadjson-glib-4ef07b2c6e7d4d444f8ec6ce93c27f7189b942a0.tar.gz
Link the tests against the appropriate libraries.
This avoids some linking failures. Closes: bgo#653295 - json-glib tests need to link against libgobject-2
Diffstat (limited to 'json-glib/tests')
-rw-r--r--json-glib/tests/Makefile.am5
1 files changed, 4 insertions, 1 deletions
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