diff options
author | David Barksdale <amatus@amat.us> | 2019-08-27 14:29:17 -0500 |
---|---|---|
committer | David Barksdale <amatus@amat.us> | 2019-08-27 14:29:17 -0500 |
commit | 53fd26b7e0deef386aeb207bfc1e3f7c00a1f775 (patch) | |
tree | db4ed21ae7fb6677b7f7092f529175a76e3d4f6b /src/json | |
parent | ba2cae9617e32bf789001415cd787f50af8b3ce9 (diff) | |
download | gnunet-53fd26b7e0deef386aeb207bfc1e3f7c00a1f775.tar.gz gnunet-53fd26b7e0deef386aeb207bfc1e3f7c00a1f775.zip |
Use pkg-config to check for MHD
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/json/Makefile.am b/src/json/Makefile.am index dfe185d5e..886c0691d 100644 --- a/src/json/Makefile.am +++ b/src/json/Makefile.am | |||
@@ -12,6 +12,7 @@ lib_LTLIBRARIES = \ | |||
12 | libgnunetjson_la_LDFLAGS = \ | 12 | libgnunetjson_la_LDFLAGS = \ |
13 | -version-info 0:0:0 \ | 13 | -version-info 0:0:0 \ |
14 | -no-undefined | 14 | -no-undefined |
15 | libgnunetjson_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS) | ||
15 | libgnunetjson_la_SOURCES = \ | 16 | libgnunetjson_la_SOURCES = \ |
16 | json.c \ | 17 | json.c \ |
17 | json_mhd.c \ | 18 | json_mhd.c \ |
@@ -22,7 +23,7 @@ libgnunetjson_la_LIBADD = \ | |||
22 | $(top_builddir)/src/util/libgnunetutil.la \ | 23 | $(top_builddir)/src/util/libgnunetutil.la \ |
23 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 24 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
24 | -ljansson \ | 25 | -ljansson \ |
25 | -lmicrohttpd \ | 26 | $(MHD_LIBS) \ |
26 | $(XLIB) \ | 27 | $(XLIB) \ |
27 | $(Z_LIBS) | 28 | $(Z_LIBS) |
28 | 29 | ||
@@ -58,8 +59,7 @@ test_json_mhd_LDADD = \ | |||
58 | libgnunetjson.la \ | 59 | libgnunetjson.la \ |
59 | $(top_builddir)/src/util/libgnunetutil.la \ | 60 | $(top_builddir)/src/util/libgnunetutil.la \ |
60 | -ljansson \ | 61 | -ljansson \ |
61 | -lmicrohttpd \ | 62 | $(MHD_LIBS) \ |
62 | $(Z_LIBS) \ | 63 | $(Z_LIBS) \ |
63 | $(LIB_GNURL) | 64 | $(LIB_GNURL) |
64 | test_json_mhd_CPPFLAGS = \ | 65 | test_json_mhd_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS) |
65 | $(CPP_GNURL) $(AM_CPPFLAGS) | ||