[json-glib] Link the tests against the appropriate libraries.



commit 4ef07b2c6e7d4d444f8ec6ce93c27f7189b942a0
Author: Travis Reitter <treitter gmail com>
Date:   Thu Jun 23 16:54:38 2011 -0700

    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 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
 



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