aboutsummaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-09-23 20:28:24 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-09-23 20:28:24 +0200
commitc6ab90d784d0cd166b86f70b100a97f5d2ffe347 (patch)
tree72dd45a59b8a3ef1ff8e855c599b1512a90c6b8a /src/json
parente18ad2888560927947668820de50638c7a526116 (diff)
downloadgnunet-c6ab90d784d0cd166b86f70b100a97f5d2ffe347.tar.gz
gnunet-c6ab90d784d0cd166b86f70b100a97f5d2ffe347.zip
BUILD: More pkgconfig
Diffstat (limited to 'src/json')
-rw-r--r--src/json/meson.build18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/json/meson.build b/src/json/meson.build
index 769e9d4cf..9c3566335 100644
--- a/src/json/meson.build
+++ b/src/json/meson.build
@@ -4,14 +4,18 @@ libgnunetjson_src = ['json.c',
4 'json_mhd.c', 4 'json_mhd.c',
5 'json_pack.c'] 5 'json_pack.c']
6 6
7if get_option('monolith') == false 7if get_option('monolith')
8 libgnunetjson = library('gnunetjson',
9 libgnunetjson_src,
10 dependencies: [libgnunetutil_dep, json_dep, mhd_dep, zlib_dep],
11 include_directories: [incdir, configuration_inc])
12 libgnunetjson_dep = declare_dependency(link_with : libgnunetjson)
13else
14 foreach p : libgnunetjson_src 8 foreach p : libgnunetjson_src
15 gnunet_src += 'json/' + p 9 gnunet_src += 'json/' + p
16 endforeach 10 endforeach
11 subdir_done()
17endif 12endif
13
14libgnunetjson = library('gnunetjson',
15 libgnunetjson_src,
16 dependencies: [libgnunetutil_dep, json_dep, mhd_dep, zlib_dep],
17 include_directories: [incdir, configuration_inc])
18libgnunetjson_dep = declare_dependency(link_with : libgnunetjson)
19pkg.generate(libgnunetarm, url: 'https://www.gnunet.org',
20 description : 'Library for JSON de/serialization')
21