meson.build: set default option default_library=static

For subprojects.
This commit is contained in:
Max Kellermann 2020-06-04 18:43:33 +02:00
parent 0cefb61a2e
commit 759f4231d2
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@ project(
'c_std=c99', 'c_std=c99',
'cpp_std=c++17', 'cpp_std=c++17',
'warning_level=3', 'warning_level=3',
# This is only here to build subprojects as static libraries; MPD
# itself doesn't ship any libraries.
'default_library=static',
], ],
license: 'GPLv2+', license: 'GPLv2+',
) )