diff options
Diffstat (limited to 'src/datacache/meson.build')
-rw-r--r-- | src/datacache/meson.build | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/datacache/meson.build b/src/datacache/meson.build index 8613e527f..4342c1ecf 100644 --- a/src/datacache/meson.build +++ b/src/datacache/meson.build | |||
@@ -19,7 +19,9 @@ libgnunetdatacache = library('gnunetdatacache', | |||
19 | libgnunetdatacache_src, | 19 | libgnunetdatacache_src, |
20 | soversion: '0.1.0', | 20 | soversion: '0.1.0', |
21 | dependencies: [libgnunetutil_dep, libgnunetstatistics_dep], | 21 | dependencies: [libgnunetutil_dep, libgnunetstatistics_dep], |
22 | include_directories: [incdir, configuration_inc]) | 22 | include_directories: [incdir, configuration_inc], |
23 | install: true, | ||
24 | install_dir: get_option('libdir')) | ||
23 | libgnunetdatacache_dep = declare_dependency(link_with : libgnunetdatacache) | 25 | libgnunetdatacache_dep = declare_dependency(link_with : libgnunetdatacache) |
24 | pkg.generate(libgnunetdatacache, url: 'https://www.gnunet.org', | 26 | pkg.generate(libgnunetdatacache, url: 'https://www.gnunet.org', |
25 | description : 'Provides datacache API for temporary storage to disk') | 27 | description : 'Provides datacache API for temporary storage to disk') |
@@ -30,7 +32,11 @@ shared_module('gnunet_plugin_datacache_sqlite', | |||
30 | libgnunetdatacache_dep, | 32 | libgnunetdatacache_dep, |
31 | sqlite_dep, | 33 | sqlite_dep, |
32 | libgnunetsq_dep], | 34 | libgnunetsq_dep], |
33 | include_directories: [incdir, configuration_inc]) | 35 | include_directories: [incdir, configuration_inc], |
36 | install: true, | ||
37 | install_dir: get_option('libdir')/'gnunet') | ||
38 | |||
39 | |||
34 | if pq_dep.found() | 40 | if pq_dep.found() |
35 | shared_module('gnunet_plugin_datacache_postgres', | 41 | shared_module('gnunet_plugin_datacache_postgres', |
36 | ['plugin_datacache_postgres.c'], | 42 | ['plugin_datacache_postgres.c'], |
@@ -38,5 +44,7 @@ if pq_dep.found() | |||
38 | libgnunetdatacache_dep, | 44 | libgnunetdatacache_dep, |
39 | pq_dep, | 45 | pq_dep, |
40 | libgnunetpq_dep], | 46 | libgnunetpq_dep], |
41 | include_directories: [incdir, configuration_inc]) | 47 | include_directories: [incdir, configuration_inc], |
48 | install: true, | ||
49 | install_dir: get_option('libdir')/'gnunet') | ||
42 | endif | 50 | endif |