summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSertonix <sertonix@posteo.net>2024-07-30 17:19:15 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2024-08-04 16:25:03 +0300
commit839fef4a710ab15a6401c1a5f3e1cfbeae9c432c (patch)
treeab1ec366e81eff8aaa4d2caf7734d8c2274eeb84
parentb875c752385f19b9d042b29907d8b45e113c53b2 (diff)
downloadmeson-839fef4a710ab15a6401c1a5f3e1cfbeae9c432c.tar.gz
docs: document prefer_static effect on dependency()
Ref https://github.com/mesonbuild/meson/pull/9603
-rw-r--r--docs/yaml/functions/dependency.yaml4
1 files changed, 3 insertions, 1 deletions
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