summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-06-04 18:43:33 +0200
committerMax Kellermann <max@musicpd.org>2020-06-04 18:44:47 +0200
commit759f4231d257122cf9dba858ca04de5f835c0859 (patch)
treed59b5c910264807c516e2380c7723c1af8135c7f /meson.build
parent0cefb61a2e750a7097d6f4e11681ed83becb11d7 (diff)
meson.build: set default option default_library=static
For subprojects.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 09a1b9b6c..305162f09 100644
--- a/meson.build
+++ b/meson.build
@@ -7,6 +7,10 @@ project(
'c_std=c99',
'cpp_std=c++17',
'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+',
)