From b16a7ff454303c0329f6fe50fe8977080fb2bee3 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 27 Jan 2020 08:43:04 -0800 Subject: [PATCH] docs: small cleanups and clarifications to setting the dynamic linker [skip ci] Fixes #6510 --- docs/markdown/howtox.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md index 5deaa7ebb024..452da2c24266 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 _LD +*New in 0.53.0* + +Like the compiler, the linker is selected via the `_LD` environment variable, or through the `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 `_ld` and `_LD`. ```console $ CC=clang CC_LD=lld meson