diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-07-21 21:44:17 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2020-09-14 20:32:22 -0400 |
commit | 67c0ec1640369e20f9cea3fbdef873a4da3e47d3 (patch) | |
tree | 1a20aad639427b0ec272c8b0873e92046a87f8a4 /docs/markdown/Reference-manual.md | |
parent | b872eea27f32e2d0b6767d7247cd43199b9ae41c (diff) | |
download | meson-67c0ec1640369e20f9cea3fbdef873a4da3e47d3.zip meson-67c0ec1640369e20f9cea3fbdef873a4da3e47d3.tar.gz meson-67c0ec1640369e20f9cea3fbdef873a4da3e47d3.tar.bz2 |
InternalDependency: Add as_link_whole() method
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 01052b0..c289397 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -2426,6 +2426,13 @@ an external dependency with the following methods: the value of `include_type` to `value`. The `value` argument is optional and defaults to `'preserve'`. + - `as_link_whole()` *Since 0.56.0* Only dependencies created with + `declare_dependency()`, returns a copy of the dependency object with all + link_with arguments changed to link_whole. This is useful for example for + fallback dependency from a subproject built with `default_library=static`. + Note that all `link_with` objects must be static libraries otherwise an error + will be raised when trying to `link_whole` a shared library. + - `partial_dependency(compile_args : false, link_args : false, links : false, includes : false, sources : false)` *(since 0.46.0)*: returns a new dependency object with the same name, version, found status, |