diff options
Diffstat (limited to 'src/ats/meson.build')
-rw-r--r-- | src/ats/meson.build | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/ats/meson.build b/src/ats/meson.build index f08358e3a..4804e95a2 100644 --- a/src/ats/meson.build +++ b/src/ats/meson.build | |||
@@ -13,17 +13,21 @@ gnunetserviceats_src = ['gnunet-service-ats.c', | |||
13 | 'gnunet-service-ats_scheduling.c', | 13 | 'gnunet-service-ats_scheduling.c', |
14 | 'gnunet-service-ats_reservations.c'] | 14 | 'gnunet-service-ats_reservations.c'] |
15 | 15 | ||
16 | if gnunet_monolith == false | 16 | if get_option('monolith') == false |
17 | libgnunetats = library('gnunetats', | 17 | libgnunetats = library('gnunetats', |
18 | libgnunetats_src, | 18 | libgnunetats_src, |
19 | dependencies: [libgnunetutil_dep, libgnunethello_dep], | 19 | dependencies: [libgnunetutil_dep, libgnunethello_dep], |
20 | include_directories: [incdir, configuration_inc]) | 20 | include_directories: [incdir, configuration_inc], |
21 | install: true, | ||
22 | install_dir: get_option('libdir')) | ||
21 | libgnunetats_dep = declare_dependency(link_with : libgnunetats) | 23 | libgnunetats_dep = declare_dependency(link_with : libgnunetats) |
22 | executable ('gnunet-service-ats', | 24 | executable ('gnunet-service-ats', |
23 | gnunetserviceats_src, | 25 | gnunetserviceats_src, |
24 | dependencies: [libgnunetats_dep, libgnunetutil_dep, | 26 | dependencies: [libgnunetats_dep, libgnunetutil_dep, |
25 | libgnunetnt_dep, libgnunetstatistics_dep], | 27 | libgnunetnt_dep, libgnunetstatistics_dep], |
26 | include_directories: [incdir, configuration_inc]) | 28 | include_directories: [incdir, configuration_inc], |
29 | install: true, | ||
30 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
27 | else | 31 | else |
28 | foreach p : libgnunetats_src + gnunetserviceats_src | 32 | foreach p : libgnunetats_src + gnunetserviceats_src |
29 | gnunet_src += 'ats/' + p | 33 | gnunet_src += 'ats/' + p |