aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbl <3636470+pbl-pw@users.noreply.github.com>2018-10-26 23:57:18 +0800
committerJussi Pakkanen <jpakkane@gmail.com>2018-10-26 18:57:18 +0300
commit198d4b83b902b349c22df4583a4b8fce4d4d58fc (patch)
treee53712752c3132547793f77767cca6acc2ee6cd6
parent6f6afe24a791d73bcb5106a7ca4cf6ec76eadeb6 (diff)
downloadmeson-198d4b83b902b349c22df4583a4b8fce4d4d58fc.zip
meson-198d4b83b902b349c22df4583a4b8fce4d4d58fc.tar.gz
meson-198d4b83b902b349c22df4583a4b8fce4d4d58fc.tar.bz2
add implib support for ArmclangCompiler (#4420)
-rw-r--r--mesonbuild/compilers/compilers.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index fb03819..458a416 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1669,6 +1669,20 @@ class ArmclangCompiler:
def get_debug_args(self, is_debug):
return clike_debug_args[is_debug]
+ def gen_export_dynamic_link_args(self, env):
+ """
+ The args for export dynamic
+ """
+ return ['--export_dynamic']
+
+ def gen_import_library_args(self, implibname):
+ """
+ The args of the outputted import library
+
+ ArmLinker's symdefs output can be used as implib
+ """
+ return ['--symdefs=' + implibname]
+
# Tested on linux for ICC 14.0.3, 15.0.6, 16.0.4, 17.0.1
class IntelCompiler(GnuLikeCompiler):