-fix off-by-1
[oweals/gnunet.git] / src / json / Makefile.am
index 83cd6dd2d3ab03bf99191de6f3eaa5e2f176fa2c..da19e7955117bafb8b4d66f5b8cf7bdda2bdd92e 100644 (file)
@@ -14,10 +14,11 @@ libgnunetjson_la_LDFLAGS = \
   -no-undefined
 libgnunetjson_la_SOURCES = \
   json.c \
+  json_mhd.c \
   json_generator.c \
   json_helper.c
 libgnunetjson_la_LIBADD = \
-  -lgnunetutil \
+  $(top_builddir)/src/util/libgnunetutil.la \
   -ljansson \
   $(XLIB)
 
@@ -31,5 +32,5 @@ test_json_SOURCES = \
   test_json.c
 test_json_LDADD = \
   libgnunetjson.la \
-  -lgnunetutil \
+  $(top_builddir)/src/util/libgnunetutil.la \
   -ljansson