linkers: Add the armclang dynamic linker

pull/5681/head
Dylan Baker 5 years ago
parent 5ababa413c
commit cd134b78c0
  1. 15
      mesonbuild/linkers.py

@ -692,3 +692,18 @@ class ArmDynamicLinker(PosixDynamicLinkerMixin, DynamicLinker):
def get_allow_undefined_args(self) -> typing.List[str]:
return []
class ArmClangDynamicLinker(ArmDynamicLinker):
"""Linker used with ARM's clang fork.
The interface is similar enough to the old ARM ld that it inherits and
extends a few things as needed.
"""
def export_dynamic_args(self, env: 'Environment') -> typing.List[str]:
return ['--export_dynamic']
def import_library_args(self, implibname: str) -> typing.List[str]:
return ['--symdefs=' + implibname]

Loading…
Cancel
Save