Fix meson.build to work properly with '-Ddatabase=false'

This commit is contained in:
Eugene Gorodinsky
2019-04-16 13:28:08 +03:00
committed by Max Kellermann
parent fe8621906d
commit 8d18b4c24b
3 changed files with 9 additions and 1 deletions

View File

@@ -9,6 +9,11 @@ db_api_dep = declare_dependency(
link_with: db_api,
)
if not enable_database
db_glue_dep = db_api_dep
subdir_done()
endif
subdir('plugins')
db_glue_sources = [