[json-glib] json-glib/tests: explicitely link against glib



commit c3215ba1d46f7965fb58272da069bec389a174df
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Wed Aug 11 14:42:25 2010 -0500

    json-glib/tests: explicitely link against glib
    
    Tests fail to link otherwise.
    
    Bug #626669

 json-glib/tests/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/json-glib/tests/Makefile.am b/json-glib/tests/Makefile.am
index 0fef8e9..917b0de 100644
--- a/json-glib/tests/Makefile.am
+++ b/json-glib/tests/Makefile.am
@@ -14,7 +14,8 @@ AM_CFLAGS = -g $(JSON_CFLAGS) $(MAINTAINER_CFLAGS)
 EXTRA_DIST += stream-load.json
 
 noinst_PROGRAMS = $(TEST_PROGS)
-progs_ldadd = $(top_builddir)/json-glib/libjson-glib-1.0.la
+progs_ldadd = $(JSON_LIBS) \
+	$(top_builddir)/json-glib/libjson-glib-1.0.la
 
 TEST_PROGS             += array-test
 array_test_SOURCES      = array-test.c



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]