diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-05-02 01:57:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 01:57:09 +0300 |
commit | f8a04f0f76a09e875a2a2235facf9f58bb5031b5 (patch) | |
tree | c64779d76cba72fde7848616fd816a9998b90e31 /docs/markdown/snippets | |
parent | 30c4a7744f00c0393e4f261a6337d65b4c4d469d (diff) | |
parent | 1bfeaadd6d1dc87532a1c0ad4be615eb34044495 (diff) | |
download | meson-f8a04f0f76a09e875a2a2235facf9f58bb5031b5.zip meson-f8a04f0f76a09e875a2a2235facf9f58bb5031b5.tar.gz meson-f8a04f0f76a09e875a2a2235facf9f58bb5031b5.tar.bz2 |
Merge pull request #6838 from dcbaker/link-language-in-libraries
Link language in libraries
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`. |