diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-23 20:28:24 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-23 20:28:24 +0200 |
commit | c6ab90d784d0cd166b86f70b100a97f5d2ffe347 (patch) | |
tree | 72dd45a59b8a3ef1ff8e855c599b1512a90c6b8a /src/json | |
parent | e18ad2888560927947668820de50638c7a526116 (diff) | |
download | gnunet-c6ab90d784d0cd166b86f70b100a97f5d2ffe347.tar.gz gnunet-c6ab90d784d0cd166b86f70b100a97f5d2ffe347.zip |
BUILD: More pkgconfig
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/meson.build | 18 |
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 | ||
7 | if get_option('monolith') == false | 7 | if 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) | ||
13 | else | ||
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() | ||
17 | endif | 12 | endif |
13 | |||
14 | libgnunetjson = library('gnunetjson', | ||
15 | libgnunetjson_src, | ||
16 | dependencies: [libgnunetutil_dep, json_dep, mhd_dep, zlib_dep], | ||
17 | include_directories: [incdir, configuration_inc]) | ||
18 | libgnunetjson_dep = declare_dependency(link_with : libgnunetjson) | ||
19 | pkg.generate(libgnunetarm, url: 'https://www.gnunet.org', | ||
20 | description : 'Library for JSON de/serialization') | ||
21 | |||