aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers/linkers.py
diff options
context:
space:
mode:
authorjack <jack.wilson@otoy.com>2023-01-05 17:17:40 +1300
committerDylan Baker <dylan@pnwbakers.com>2023-01-10 12:00:01 -0800
commit7e4f6df07a1df69f9c1c82a52ec190db596de764 (patch)
treea585f1e6793275d5adeac73b3a5194ae74327944 /mesonbuild/linkers/linkers.py
parent6ed6c8cdbaed1976f47e685b66d032e3174d5e89 (diff)
downloadmeson-7e4f6df07a1df69f9c1c82a52ec190db596de764.zip
meson-7e4f6df07a1df69f9c1c82a52ec190db596de764.tar.gz
meson-7e4f6df07a1df69f9c1c82a52ec190db596de764.tar.bz2
linkers: detect ld64 as AppleDynamicLinker
Diffstat (limited to 'mesonbuild/linkers/linkers.py')
-rw-r--r--mesonbuild/linkers/linkers.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py
index 7538cfc..890e526 100644
--- a/mesonbuild/linkers/linkers.py
+++ b/mesonbuild/linkers/linkers.py
@@ -825,6 +825,11 @@ class AppleDynamicLinker(PosixDynamicLinkerMixin, DynamicLinker):
return ["-Wl,-cache_path_lto," + path]
+class LLVMLD64DynamicLinker(AppleDynamicLinker):
+
+ id = 'ld64.lld'
+
+
class GnuDynamicLinker(GnuLikeDynamicLinkerMixin, PosixDynamicLinkerMixin, DynamicLinker):
"""Representation of GNU ld.bfd and ld.gold."""