aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/identity-provider/Makefile.am9
-rw-r--r--src/include/gnunet_json_lib.h6
-rw-r--r--src/json/Makefile.am2
3 files changed, 9 insertions, 8 deletions
diff --git a/src/identity-provider/Makefile.am b/src/identity-provider/Makefile.am
index f556052cb..1e0b82528 100644
--- a/src/identity-provider/Makefile.am
+++ b/src/identity-provider/Makefile.am
@@ -4,7 +4,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 plugindir = $(libdir)/gnunet 4 plugindir = $(libdir)/gnunet
5 5
6if MINGW 6if MINGW
7 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 7 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8endif 8endif
9 9
10if USE_COVERAGE 10if USE_COVERAGE
@@ -21,7 +21,7 @@ pkgcfg_DATA = \
21 21
22plugin_LTLIBRARIES = \ 22plugin_LTLIBRARIES = \
23 libgnunetidentityprovider.la \ 23 libgnunetidentityprovider.la \
24 libgnunet_plugin_rest_identity_provider.la 24 libgnunet_plugin_rest_identity_provider.la
25 25
26bin_PROGRAMS = \ 26bin_PROGRAMS = \
27 gnunet-identity-token 27 gnunet-identity-token
@@ -37,6 +37,7 @@ gnunet_service_identity_provider_LDADD = \
37 $(top_builddir)/src/util/libgnunetutil.la \ 37 $(top_builddir)/src/util/libgnunetutil.la \
38 $(top_builddir)/src/namestore/libgnunetnamestore.la \ 38 $(top_builddir)/src/namestore/libgnunetnamestore.la \
39 $(top_builddir)/src/identity/libgnunetidentity.la \ 39 $(top_builddir)/src/identity/libgnunetidentity.la \
40 $(top_builddir)/src/statistics/libgnunetstatistics.la \
40 $(top_builddir)/src/gns/libgnunetgns.la \ 41 $(top_builddir)/src/gns/libgnunetgns.la \
41 $(GN_LIBINTL) \ 42 $(GN_LIBINTL) \
42 -ljansson 43 -ljansson
@@ -65,10 +66,8 @@ libgnunet_plugin_rest_identity_provider_la_LDFLAGS = \
65 66
66 67
67gnunet_identity_token_SOURCES = \ 68gnunet_identity_token_SOURCES = \
68 gnunet-identity-token.c 69 gnunet-identity-token.c
69gnunet_identity_token_LDADD = \ 70gnunet_identity_token_LDADD = \
70 $(top_builddir)/src/util/libgnunetutil.la \ 71 $(top_builddir)/src/util/libgnunetutil.la \
71 -ljansson -lmicrohttpd \ 72 -ljansson -lmicrohttpd \
72 $(GN_LIBINTL) 73 $(GN_LIBINTL)
73
74
diff --git a/src/include/gnunet_json_lib.h b/src/include/gnunet_json_lib.h
index e39938858..8d8a6ee78 100644
--- a/src/include/gnunet_json_lib.h
+++ b/src/include/gnunet_json_lib.h
@@ -20,7 +20,9 @@
20 * @author Benedikt Mueller 20 * @author Benedikt Mueller
21 * @author Christian Grothoff 21 * @author Christian Grothoff
22 */ 22 */
23#include "platform.h" 23#ifndef GNUNET_JSON_LIB_H
24#define GNUNET_JSON_LIB_H
25
24#include <gnunet/gnunet_util_lib.h> 26#include <gnunet/gnunet_util_lib.h>
25#include <jansson.h> 27#include <jansson.h>
26 28
@@ -349,6 +351,6 @@ json_t *
349GNUNET_JSON_from_rsa_signature (const struct GNUNET_CRYPTO_rsa_Signature *sig); 351GNUNET_JSON_from_rsa_signature (const struct GNUNET_CRYPTO_rsa_Signature *sig);
350 352
351 353
352 354#endif
353 355
354/* end of gnunet_json_lib.h */ 356/* end of gnunet_json_lib.h */
diff --git a/src/json/Makefile.am b/src/json/Makefile.am
index 83cd6dd2d..104fbe06e 100644
--- a/src/json/Makefile.am
+++ b/src/json/Makefile.am
@@ -17,7 +17,7 @@ libgnunetjson_la_SOURCES = \
17 json_generator.c \ 17 json_generator.c \
18 json_helper.c 18 json_helper.c
19libgnunetjson_la_LIBADD = \ 19libgnunetjson_la_LIBADD = \
20 -lgnunetutil \ 20 $(top_builddir)/src/util/libgnunetutil.la \
21 -ljansson \ 21 -ljansson \
22 $(XLIB) 22 $(XLIB)
23 23