From 5deeabd24d11f46d41abd12364417faa729ad20c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 16 Mar 2016 17:27:19 +0000 Subject: [PATCH] Only compile plugin when we have sqlite. --- src/peerstore/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) 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 = \ libgnunetpeerstore_la_LDFLAGS = \ $(GN_LIB_LDFLAGS) +if HAVE_SQLITE + plugin_LTLIBRARIES = \ libgnunet_plugin_peerstore_sqlite.la @@ -62,6 +64,9 @@ libgnunet_plugin_peerstore_sqlite_la_LIBADD = \ $(LTLIBINTL) libgnunet_plugin_peerstore_sqlite_la_LDFLAGS = \ $(GN_PLUGIN_LDFLAGS) +end + +endif check_PROGRAMS = \ test_peerstore_api_store \ -- 2.25.1