diff options
Diffstat (limited to 'src/gns/meson.build')
-rw-r--r-- | src/gns/meson.build | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gns/meson.build b/src/gns/meson.build index 1ee79c4c2..afbecbe64 100644 --- a/src/gns/meson.build +++ b/src/gns/meson.build | |||
@@ -5,13 +5,15 @@ gnunetservicegns_src = ['gnunet-service-gns.c', | |||
5 | 'gnunet-service-gns_interceptor.c'] | 5 | 'gnunet-service-gns_interceptor.c'] |
6 | 6 | ||
7 | 7 | ||
8 | if gnunet_monolith == false | 8 | if get_option('monolith') == false |
9 | libgnunetgns = library('gnunetgns', | 9 | libgnunetgns = library('gnunetgns', |
10 | libgnunetgns_src, | 10 | libgnunetgns_src, |
11 | dependencies: [libgnunetutil_dep, | 11 | dependencies: [libgnunetutil_dep, |
12 | libgnunetgnsrecord_dep, | 12 | libgnunetgnsrecord_dep, |
13 | libgnunetidentity_dep], | 13 | libgnunetidentity_dep], |
14 | include_directories: [incdir, configuration_inc]) | 14 | include_directories: [incdir, configuration_inc], |
15 | install: true, | ||
16 | install_dir: get_option('libdir')) | ||
15 | libgnunetgns_dep = declare_dependency(link_with : libgnunetgns) | 17 | libgnunetgns_dep = declare_dependency(link_with : libgnunetgns) |
16 | executable ('gnunet-service-gns', | 18 | executable ('gnunet-service-gns', |
17 | gnunetservicegns_src, | 19 | gnunetservicegns_src, |
@@ -28,7 +30,9 @@ if gnunet_monolith == false | |||
28 | libgnunetgnsrecord_dep, | 30 | libgnunetgnsrecord_dep, |
29 | libgnunetcadet_dep, | 31 | libgnunetcadet_dep, |
30 | libgnunetblock_dep], | 32 | libgnunetblock_dep], |
31 | include_directories: [incdir, configuration_inc]) | 33 | include_directories: [incdir, configuration_inc], |
34 | install: true, | ||
35 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
32 | else | 36 | else |
33 | foreach p : libgnunetgns_src + gnunetservicegns_src | 37 | foreach p : libgnunetgns_src + gnunetservicegns_src |
34 | gnunet_src += 'gns/' + p | 38 | gnunet_src += 'gns/' + p |