aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-03-16 17:27:19 +0000
committerFlorian Dold <florian.dold@gmail.com>2016-03-16 17:27:19 +0000
commit5deeabd24d11f46d41abd12364417faa729ad20c (patch)
treec871967bf2db134782d3f6230d676fbdadad556a /src/peerstore
parent4c1791f13283df27338cd877e2087d519aaab05e (diff)
downloadgnunet-5deeabd24d11f46d41abd12364417faa729ad20c.tar.gz
gnunet-5deeabd24d11f46d41abd12364417faa729ad20c.zip
Only compile plugin when we have sqlite.
Diffstat (limited to 'src/peerstore')
-rw-r--r--src/peerstore/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/peerstore/Makefile.am b/src/peerstore/Makefile.am
index 8cbde94f7..e8d865c46 100644
--- a/src/peerstore/Makefile.am
+++ b/src/peerstore/Makefile.am
@@ -51,6 +51,8 @@ libgnunetpeerstore_la_LIBADD = \
51libgnunetpeerstore_la_LDFLAGS = \ 51libgnunetpeerstore_la_LDFLAGS = \
52 $(GN_LIB_LDFLAGS) 52 $(GN_LIB_LDFLAGS)
53 53
54if HAVE_SQLITE
55
54plugin_LTLIBRARIES = \ 56plugin_LTLIBRARIES = \
55 libgnunet_plugin_peerstore_sqlite.la 57 libgnunet_plugin_peerstore_sqlite.la
56 58
@@ -62,6 +64,9 @@ libgnunet_plugin_peerstore_sqlite_la_LIBADD = \
62 $(LTLIBINTL) 64 $(LTLIBINTL)
63libgnunet_plugin_peerstore_sqlite_la_LDFLAGS = \ 65libgnunet_plugin_peerstore_sqlite_la_LDFLAGS = \
64 $(GN_PLUGIN_LDFLAGS) 66 $(GN_PLUGIN_LDFLAGS)
67end
68
69endif
65 70
66check_PROGRAMS = \ 71check_PROGRAMS = \
67 test_peerstore_api_store \ 72 test_peerstore_api_store \