From f5621bc6a681ebd2fa7997374012b5add3931cfc Mon Sep 17 00:00:00 2001 From: line0 Date: Tue, 31 Mar 2020 21:19:15 +0200 Subject: [PATCH] meson: make boost honor the global default_library option --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index db004ef2a..5307f06a1 100644 --- a/meson.build +++ b/meson.build @@ -61,7 +61,8 @@ deps += dependency('libass', version: '>=0.9.7', deps += dependency('boost', version: '>=1.50.0', modules: ['chrono', 'filesystem', 'locale', 'regex', - 'system', 'thread']) + 'system', 'thread'], + static: get_option('default_library') == 'static') if host_machine.system() == 'windows' conf.set('BOOST_USE_WINDOWS_H', '1') endif