diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-03-16 17:27:19 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-03-16 17:27:19 +0000 |
commit | 5deeabd24d11f46d41abd12364417faa729ad20c (patch) | |
tree | c871967bf2db134782d3f6230d676fbdadad556a | |
parent | 4c1791f13283df27338cd877e2087d519aaab05e (diff) | |
download | gnunet-5deeabd24d11f46d41abd12364417faa729ad20c.tar.gz gnunet-5deeabd24d11f46d41abd12364417faa729ad20c.zip |
Only compile plugin when we have sqlite.
-rw-r--r-- | src/peerstore/Makefile.am | 5 |
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 = \ | |||
51 | libgnunetpeerstore_la_LDFLAGS = \ | 51 | libgnunetpeerstore_la_LDFLAGS = \ |
52 | $(GN_LIB_LDFLAGS) | 52 | $(GN_LIB_LDFLAGS) |
53 | 53 | ||
54 | if HAVE_SQLITE | ||
55 | |||
54 | plugin_LTLIBRARIES = \ | 56 | plugin_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) |
63 | libgnunet_plugin_peerstore_sqlite_la_LDFLAGS = \ | 65 | libgnunet_plugin_peerstore_sqlite_la_LDFLAGS = \ |
64 | $(GN_PLUGIN_LDFLAGS) | 66 | $(GN_PLUGIN_LDFLAGS) |
67 | end | ||
68 | |||
69 | endif | ||
65 | 70 | ||
66 | check_PROGRAMS = \ | 71 | check_PROGRAMS = \ |
67 | test_peerstore_api_store \ | 72 | test_peerstore_api_store \ |