From 839fef4a710ab15a6401c1a5f3e1cfbeae9c432c Mon Sep 17 00:00:00 2001 From: Sertonix Date: Tue, 30 Jul 2024 17:19:15 +0200 Subject: [PATCH] docs: document prefer_static effect on dependency() Ref https://github.com/mesonbuild/meson/pull/9603 --- docs/yaml/functions/dependency.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/yaml/functions/dependency.yaml b/docs/yaml/functions/dependency.yaml index 74981b2d9..a19deab8f 100644 --- a/docs/yaml/functions/dependency.yaml +++ b/docs/yaml/functions/dependency.yaml @@ -169,7 +169,6 @@ kwargs: static: type: bool - default: false description: | Tells the dependency provider to try to get static libraries instead of dynamic ones (note that this is not supported @@ -178,6 +177,9 @@ kwargs: *Since 0.60.0* it also sets `default_library` option accordingly on the fallback subproject if it was not set explicitly in `default_options` keyword argument. + *Since 0.63.0* when the `prefer_static` option is set to `true` the default + value is `true` otherwise the default value is `false`. + version: type: list[str] | str since: 0.37.0