aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/envconfig.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-11-19 09:30:46 -0800
committerDylan Baker <dylan@pnwbakers.com>2019-12-02 16:39:06 -0800
commitef9aeb188ea2bc7353e59916c18901cde90fa2b3 (patch)
treed1525c3c53703d1adb4c077399ab39909863c7dc /mesonbuild/envconfig.py
parent7658e67f92ba55e2d8e466f818293a001f34a65f (diff)
downloadmeson-ef9aeb188ea2bc7353e59916c18901cde90fa2b3.zip
meson-ef9aeb188ea2bc7353e59916c18901cde90fa2b3.tar.gz
meson-ef9aeb188ea2bc7353e59916c18901cde90fa2b3.tar.bz2
Allow selecting the dynamic linker
This uses the normal meson mechanisms, an LD environment variable or via cross/native files. Fixes: #6057
Diffstat (limited to 'mesonbuild/envconfig.py')
-rw-r--r--mesonbuild/envconfig.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
index 1adb08d..0f277a7 100644
--- a/mesonbuild/envconfig.py
+++ b/mesonbuild/envconfig.py
@@ -309,7 +309,9 @@ class BinaryTable(HasEnvVarFallback):
'strip': 'STRIP',
'ar': 'AR',
'windres': 'WINDRES',
+ 'ld': 'LD',
+ # Other tools
'cmake': 'CMAKE',
'qmake': 'QMAKE',
'pkgconfig': 'PKG_CONFIG',