diff options
author | Eugene Gorodinsky <eugene2k@users.noreply.github.com> | 2019-04-16 13:28:08 +0300 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-04-18 08:55:13 +0200 |
commit | 8d18b4c24b776fe62c39ad9ce72e1e57ac0aa3ea (patch) | |
tree | e44bfad35b0b09ce0a8ffd3dac63679288328e85 /src/db/meson.build | |
parent | fe8621906d077344dc5439d5fc786a26a058c17e (diff) |
Fix meson.build to work properly with '-Ddatabase=false'
Diffstat (limited to 'src/db/meson.build')
-rw-r--r-- | src/db/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/db/meson.build b/src/db/meson.build index 3ad0be246..4f2b32f8e 100644 --- a/src/db/meson.build +++ b/src/db/meson.build @@ -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 = [ |