typo in src/identity/gnunet-identity.c
[oweals/gnunet.git] / src / identity / Makefile.am
index 64fb36fb57c997c359730a9ba9d6283f1125432b..9b28ac093ae77dfdcc2983d53047326ffd4ce087 100644 (file)
@@ -39,10 +39,12 @@ bin_PROGRAMS = \
 libexec_PROGRAMS = \
  gnunet-service-identity 
 
-if HAVE_REST
+if HAVE_MHD
+if HAVE_JSON
 plugin_LTLIBRARIES = \
   libgnunet_plugin_rest_identity.la \
-       libgnunet_plugin_gnsrecord_identity.la
+  libgnunet_plugin_gnsrecord_identity.la
+endif
 endif
 
 
@@ -67,6 +69,7 @@ libgnunet_plugin_rest_identity_la_SOURCES = \
 libgnunet_plugin_rest_identity_la_LIBADD = \
        libgnunetidentity.la \
   $(top_builddir)/src/rest/libgnunetrest.la \
+       $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \
   $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
   $(LTLIBINTL) -ljansson -lmicrohttpd
 libgnunet_plugin_rest_identity_la_LDFLAGS = \