summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pal <kushpal@qti.qualcomm.com>2025-06-20 16:50:12 +0530
committerDylan Baker <dylan@pnwbakers.com>2025-07-03 08:55:30 -0700
commit33c14587e5caedf2ada8dfa3053734f488e91354 (patch)
tree6d956f3cfb6e07de64e57f62bb47eb46e3298b6c
parent783c3d7fe233334a0ae358d1f201db5ad67a8872 (diff)
downloadmeson-33c14587e5caedf2ada8dfa3053734f488e91354.tar.gz
Update linker detection for ELD
ELD updated the output for `--version` flag https://github.com/qualcomm/eld/pull/156 this commit updates detection for new output. Signed-off-by: Kushal Pal <kushpal@qti.qualcomm.com>
-rw-r--r--mesonbuild/linkers/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/linkers/detect.py b/mesonbuild/linkers/detect.py
index f6c0fbcb1..f4a2f7324 100644
--- a/mesonbuild/linkers/detect.py
+++ b/mesonbuild/linkers/detect.py
@@ -166,7 +166,7 @@ def guess_nix_linker(env: 'Environment', compiler: T.List[str], comp_class: T.Ty
linker = lld_cls(
compiler, for_machine, comp_class.LINKER_PREFIX, override, system=system, version=v)
- elif 'Hexagon' in o and 'LLVM' in o:
+ elif o.startswith("eld"):
linker = linkers.ELDDynamicLinker(
compiler, for_machine, comp_class.LINKER_PREFIX, override, version=v)
elif 'Snapdragon' in e and 'LLVM' in e: