diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-23 09:42:56 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-23 09:42:56 +0200 |
commit | 5a6ea6b45ff9c9398cf4d532b55889c3ffbaa1e7 (patch) | |
tree | 9397c4513e8bb23a6a489461e373e35b8a885357 /src/datacache | |
parent | f2488e5d6a67abcda5b7e8a5589e1fac54e385fb (diff) | |
download | gnunet-5a6ea6b45ff9c9398cf4d532b55889c3ffbaa1e7.tar.gz gnunet-5a6ea6b45ff9c9398cf4d532b55889c3ffbaa1e7.zip |
BUILD: Build pq plugins with meson
Diffstat (limited to 'src/datacache')
-rw-r--r-- | src/datacache/meson.build | 12 |
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 @@ | |||
1 | libgnunetdatacache_src = ['datacache.c'] | 1 | libgnunetdatacache_src = ['datacache.c'] |
2 | 2 | ||
3 | libgnunetplugindatacache_sqlite_src = ['plugin_datacache_sqlite.c'] | ||
4 | |||
5 | configure_file(input : 'datacache.conf', | 3 | configure_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', | |||
25 | libgnunetdatacache_dep = declare_dependency(link_with : libgnunetdatacache) | 23 | libgnunetdatacache_dep = declare_dependency(link_with : libgnunetdatacache) |
26 | pkg.generate(libgnunetdatacache, url: 'https://www.gnunet.org', | 24 | pkg.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 | |||
28 | shared_module('gnunet_plugin_datacache_sqlite', | 27 | shared_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]) |
34 | shared_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]) | ||