aboutsummaryrefslogtreecommitdiff
path: root/src/datacache
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-09-23 09:42:56 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-09-23 09:42:56 +0200
commit5a6ea6b45ff9c9398cf4d532b55889c3ffbaa1e7 (patch)
tree9397c4513e8bb23a6a489461e373e35b8a885357 /src/datacache
parentf2488e5d6a67abcda5b7e8a5589e1fac54e385fb (diff)
downloadgnunet-5a6ea6b45ff9c9398cf4d532b55889c3ffbaa1e7.tar.gz
gnunet-5a6ea6b45ff9c9398cf4d532b55889c3ffbaa1e7.zip
BUILD: Build pq plugins with meson
Diffstat (limited to 'src/datacache')
-rw-r--r--src/datacache/meson.build12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/datacache/meson.build b/src/datacache/meson.build
index a0a439403..b61a5e2a7 100644
--- a/src/datacache/meson.build
+++ b/src/datacache/meson.build
@@ -1,7 +1,5 @@
1libgnunetdatacache_src = ['datacache.c'] 1libgnunetdatacache_src = ['datacache.c']
2 2
3libgnunetplugindatacache_sqlite_src = ['plugin_datacache_sqlite.c']
4
5configure_file(input : 'datacache.conf', 3configure_file(input : 'datacache.conf',
6 output : 'datacache.conf', 4 output : 'datacache.conf',
7 configuration : cdata, 5 configuration : cdata,
@@ -25,10 +23,18 @@ libgnunetdatacache = library('gnunetdatacache',
25libgnunetdatacache_dep = declare_dependency(link_with : libgnunetdatacache) 23libgnunetdatacache_dep = declare_dependency(link_with : libgnunetdatacache)
26pkg.generate(libgnunetdatacache, url: 'https://www.gnunet.org', 24pkg.generate(libgnunetdatacache, url: 'https://www.gnunet.org',
27 description : 'Provides datacache API for temporary storage to disk') 25 description : 'Provides datacache API for temporary storage to disk')
26
28shared_module('gnunet_plugin_datacache_sqlite', 27shared_module('gnunet_plugin_datacache_sqlite',
29 libgnunetplugindatacache_sqlite_src, 28 ['plugin_datacache_sqlite.c'],
30 dependencies: [libgnunetutil_dep, 29 dependencies: [libgnunetutil_dep,
31 libgnunetdatacache_dep, 30 libgnunetdatacache_dep,
32 sqlite_dep, 31 sqlite_dep,
33 libgnunetsq_dep], 32 libgnunetsq_dep],
34 include_directories: [incdir, configuration_inc]) 33 include_directories: [incdir, configuration_inc])
34shared_module('gnunet_plugin_datacache_postgres',
35 ['plugin_datacache_postgres.c'],
36 dependencies: [libgnunetutil_dep,
37 libgnunetdatacache_dep,
38 pq_dep,
39 libgnunetpq_dep],
40 include_directories: [incdir, configuration_inc])