From 198d4b83b902b349c22df4583a4b8fce4d4d58fc Mon Sep 17 00:00:00 2001 From: pbl <3636470+pbl-pw@users.noreply.github.com> Date: Fri, 26 Oct 2018 23:57:18 +0800 Subject: [PATCH] add implib support for ArmclangCompiler (#4420) --- mesonbuild/compilers/compilers.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index fb03819f7..458a41687 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):