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
This commit is contained in:
Max Kellermann 2019-11-04 14:18:48 +01:00
parent bea3b954a5
commit ebb952c4ad

View File

@ -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()