aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/howtox.md
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-01-27 08:43:04 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2020-01-27 22:16:23 +0200
commitb16a7ff454303c0329f6fe50fe8977080fb2bee3 (patch)
tree2b8220fe23a03c7b08d1c1cd845db2c98a0a8af7 /docs/markdown/howtox.md
parenta493761d89d87e06e787492ba7f9685df6578902 (diff)
downloadmeson-b16a7ff454303c0329f6fe50fe8977080fb2bee3.zip
meson-b16a7ff454303c0329f6fe50fe8977080fb2bee3.tar.gz
meson-b16a7ff454303c0329f6fe50fe8977080fb2bee3.tar.bz2
docs: small cleanups and clarifications to setting the dynamic linker [skip ci]
Fixes #6510
Diffstat (limited to 'docs/markdown/howtox.md')
-rw-r--r--docs/markdown/howtox.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md
index 5deaa7e..452da2c 100644
--- a/docs/markdown/howtox.md
+++ b/docs/markdown/howtox.md
@@ -28,7 +28,9 @@ native-files and the latter via the cross file only.
## Set dynamic linker
-Like the compiler, the linker is selected via the <compiler variable>_LD
+*New in 0.53.0*
+
+Like the compiler, the linker is selected via the `<compiler variable>_LD`
environment variable, or through the `<compiler entry>ld` entry in a native
or cross file. You must be aware of whether you're using a compiler that
invokes the linker itself (most compilers including GCC and Clang) or a
@@ -38,8 +40,8 @@ to pass to the compiler's special argument (such as `-fuse-ld` with clang and
gcc), with the latter it should be an executable, such as `lld-link.exe`.
*NOTE* In meson 0.53.0 the `ld` entry in the cross/native file and the `LD`
-environment variable was used, this resulted in a large number of regressions
-and was changed.
+environment variable were used, this resulted in a large number of regressions
+and was changed in 0.53.1 to `<lang>_ld` and `<comp variable>_LD`.
```console
$ CC=clang CC_LD=lld meson <options>