aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers/linkers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-07-25 09:56:52 -0700
committerDylan Baker <dylan@pnwbakers.com>2022-07-25 15:36:59 -0700
commitd6b9d431ec071f54796c5ed3173efa5ad1b86db3 (patch)
treea8232e4ba45366efd098d15e950112ddf345632b /mesonbuild/linkers/linkers.py
parent5b2f921d524657605daf0ddedc4d6088c5726056 (diff)
downloadmeson-d6b9d431ec071f54796c5ed3173efa5ad1b86db3.zip
meson-d6b9d431ec071f54796c5ed3173efa5ad1b86db3.tar.gz
meson-d6b9d431ec071f54796c5ed3173efa5ad1b86db3.tar.bz2
linkers: Add a representation for the Apple AR Linker
Which is old and annoying and doesn't expose global symbols by default, so we need a work around. see: https://github.com/mesonbuild/meson/pull/10587 see: https://lists.gnu.org/archive/html/libtool/2002-07/msg00025.html
Diffstat (limited to 'mesonbuild/linkers/linkers.py')
-rw-r--r--mesonbuild/linkers/linkers.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py
index 589e816..e262eca 100644
--- a/mesonbuild/linkers/linkers.py
+++ b/mesonbuild/linkers/linkers.py
@@ -215,6 +215,13 @@ class ArLinker(ArLikeLinker):
return self.std_args
+class AppleArLinker(ArLinker):
+
+ # mostly this is used to determine that we need to call ranlib
+
+ id = 'applear'
+
+
class ArmarLinker(ArLikeLinker):
id = 'armar'