docs: document prefer_static effect on dependency()

Ref https://github.com/mesonbuild/meson/pull/9603
pull/13511/head
Sertonix 7 months ago committed by Jussi Pakkanen
parent b875c75238
commit 839fef4a71
  1. 4
      docs/yaml/functions/dependency.yaml

@ -169,7 +169,6 @@ kwargs:
static: static:
type: bool type: bool
default: false
description: | description: |
Tells the dependency provider to try to get static Tells the dependency provider to try to get static
libraries instead of dynamic ones (note that this is not supported 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 *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. 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: version:
type: list[str] | str type: list[str] | str
since: 0.37.0 since: 0.37.0

Loading…
Cancel
Save