diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-05-09 13:31:16 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-05-11 09:57:38 -0700 |
commit | e2567386f108c17704a9b300f56c0f2f2c0b4b54 (patch) | |
tree | 432bbb680898de38d932ba8d405e127b918f11f9 /docs/markdown | |
parent | e419198ff879f74663a7c4d71f2a24f125d27de1 (diff) | |
download | meson-e2567386f108c17704a9b300f56c0f2f2c0b4b54.zip meson-e2567386f108c17704a9b300f56c0f2f2c0b4b54.tar.gz meson-e2567386f108c17704a9b300f56c0f2f2c0b4b54.tar.bz2 |
Use flatten for link targets. Fixes #1764
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Reference-manual.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index c64419b..7e46da1 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -228,8 +228,8 @@ With the Ninja backend, Meson will create a build-time [order-only dependency](h Executable supports the following keyword arguments. Note that just like the positional arguments above, these keyword arguments can also be passed to [shared and static libraries](#library). -- `link_with`, one or more shared or static libraries (built by this project) that this target should be linked with -- `link_whole` links all contents of the given static libraries whether they are used by not, equivalent to the `-Wl,--whole-archive` argument flag of GCC, available since 0.40.0 +- `link_with`, one or more shared or static libraries (built by this project) that this target should be linked with, If passed a list this list will be flattened as of 0.41.0. +- `link_whole` links all contents of the given static libraries whether they are used by not, equivalent to the `-Wl,--whole-archive` argument flag of GCC, available since 0.40.0. As of 0.41.0 if passed a list that list will be flattened. - `<languagename>_pch` precompiled header file to use for the given language - `<languagename>_args` compiler flags to use for the given language; eg: `cpp_args` for C++ - `link_args` flags to use during linking. You can use UNIX-style flags here for all platforms. |