summaryrefslogtreecommitdiff
path: root/docs/markdown/Builtin-options.md
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2023-12-13 11:12:00 -0500
committerDylan Baker <dylan@pnwbakers.com>2024-09-06 10:56:44 -0700
commit0fc363021e5c2e79a68fb33e60b72b8ffd353875 (patch)
tree84f56f6e6eb41c1d74326ae549556c8ba7a0b934 /docs/markdown/Builtin-options.md
parent2d6915a5983a64b58ecafd1b1dc92e9c48579ff2 (diff)
downloadmeson-0fc363021e5c2e79a68fb33e60b72b8ffd353875.tar.gz
auto select static or shared when linking both_libraries together
Diffstat (limited to 'docs/markdown/Builtin-options.md')
-rw-r--r--docs/markdown/Builtin-options.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/markdown/Builtin-options.md b/docs/markdown/Builtin-options.md
index 178f793e4..2018b9575 100644
--- a/docs/markdown/Builtin-options.md
+++ b/docs/markdown/Builtin-options.md
@@ -187,6 +187,9 @@ with previous meson versions), 'static', or 'auto'. With auto, the value from
`default_library` option is used, unless it is 'both', in which case 'shared'
is used instead.
+When `default_both_libraries` is 'auto', passing a [[@both_libs]] dependecy
+in [[both_libraries]] will link the static dependency with the static lib,
+and the shared dependency with the shared lib.
## Base options