diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-03-24 12:20:20 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-04-30 11:52:45 -0700 |
commit | 1bfeaadd6d1dc87532a1c0ad4be615eb34044495 (patch) | |
tree | 9b33fab090981afa36f75d6144a0f2553f37822b /docs/markdown/snippets | |
parent | fdd60225301731d5b696479eb091c01a2ea121e0 (diff) | |
download | meson-1bfeaadd6d1dc87532a1c0ad4be615eb34044495.zip meson-1bfeaadd6d1dc87532a1c0ad4be615eb34044495.tar.gz meson-1bfeaadd6d1dc87532a1c0ad4be615eb34044495.tar.bz2 |
Docs: Update link_language docs to explain when it should be used
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/link_language_all_targets.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/link_language_all_targets.md b/docs/markdown/snippets/link_language_all_targets.md new file mode 100644 index 0000000..9019d50 --- /dev/null +++ b/docs/markdown/snippets/link_language_all_targets.md @@ -0,0 +1,8 @@ +## link_language argument added to all targets + +Previously the `link_language` argument was only supposed to be allowed in +executables, because the linker used needs to be the linker for the language +that implements the main function. Unfortunately it didn't work in that case, +and, even worse, if it had been implemented properly it would have worked for +*all* targets. In 0.55.0 this restriction has been removed, and the bug fixed. +It now is valid for `executable` and all derivative of `library`. |