summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-11-04 14:18:48 +0100
committerMax Kellermann <max@musicpd.org>2019-11-04 14:18:48 +0100
commitebb952c4ad101e9e62dcb08e6ec3a5706ec11263 (patch)
tree92de269d4c1ef5832335226f7fcaaf8e85d0cc30
parentbea3b954a53418d820b8e59b7258fc9f637b18ca (diff)
neighbor/meson.build: disable if -Ddatabase=false
Fixes yet another build failure (which however only affects the 0.22 branch). Closes https://github.com/MusicPlayerDaemon/MPD/issues/666
-rw-r--r--src/neighbor/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/neighbor/meson.build b/src/neighbor/meson.build
index 00033bd26..c27f3361b 100644
--- a/src/neighbor/meson.build
+++ b/src/neighbor/meson.build
@@ -1,4 +1,4 @@
-if not get_option('neighbor')
+if not get_option('neighbor') or not enable_database
conf.set('ENABLE_NEIGHBOR_PLUGINS', false)
neighbor_glue_dep = dependency('', required: false)
subdir_done()