Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: document prefer_static effect on dependency() #13489

Merged
merged 1 commit into from
Aug 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/yaml/functions/dependency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down