diff options
Diffstat (limited to 'src/consensus/meson.build')
-rw-r--r-- | src/consensus/meson.build | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/consensus/meson.build b/src/consensus/meson.build index b5fbe6971..03384c388 100644 --- a/src/consensus/meson.build +++ b/src/consensus/meson.build | |||
@@ -3,11 +3,13 @@ libgnunetconsensus_src = ['consensus_api.c'] | |||
3 | gnunetserviceconsensus_src = ['gnunet-service-consensus.c'] | 3 | gnunetserviceconsensus_src = ['gnunet-service-consensus.c'] |
4 | 4 | ||
5 | 5 | ||
6 | if gnunet_monolith == false | 6 | if get_option('monolith') == false |
7 | libgnunetconsensus = library('gnunetconsensus', | 7 | libgnunetconsensus = library('gnunetconsensus', |
8 | libgnunetconsensus_src, | 8 | libgnunetconsensus_src, |
9 | dependencies: libgnunetutil_dep, | 9 | dependencies: libgnunetutil_dep, |
10 | include_directories: [incdir, configuration_inc]) | 10 | include_directories: [incdir, configuration_inc], |
11 | install: true, | ||
12 | install_dir: get_option('libdir')) | ||
11 | libgnunetconsensus_dep = declare_dependency(link_with : libgnunetconsensus) | 13 | libgnunetconsensus_dep = declare_dependency(link_with : libgnunetconsensus) |
12 | executable ('gnunet-service-consensus', | 14 | executable ('gnunet-service-consensus', |
13 | gnunetserviceconsensus_src, | 15 | gnunetserviceconsensus_src, |
@@ -15,7 +17,9 @@ if gnunet_monolith == false | |||
15 | libgnunetutil_dep, | 17 | libgnunetutil_dep, |
16 | libgnunetset_dep, | 18 | libgnunetset_dep, |
17 | libgnunetstatistics_dep], | 19 | libgnunetstatistics_dep], |
18 | include_directories: [incdir, configuration_inc]) | 20 | include_directories: [incdir, configuration_inc], |
21 | install: true, | ||
22 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
19 | else | 23 | else |
20 | foreach p : libgnunetconsensus_src + gnunetserviceconsensus_src | 24 | foreach p : libgnunetconsensus_src + gnunetserviceconsensus_src |
21 | gnunet_src += 'consensus/' + p | 25 | gnunet_src += 'consensus/' + p |