Implement get_allow_undefined_link_args in EmscriptenCPPCompiler

pull/6042/head
Andrei Alexeyev 6 years ago committed by Dylan Baker
parent 31b8ddab51
commit f347a980fe
  1. 3
      mesonbuild/compilers/cpp.py

@ -216,6 +216,9 @@ class EmscriptenCPPCompiler(LinkerEnvVarsMixin, BasicLinkerIsCompilerMixin, Clan
def get_soname_args(self, *args, **kwargs):
raise MesonException('Emscripten does not support shared libraries.')
def get_allow_undefined_link_args(self) -> typing.List[str]:
return ['-s', 'ERROR_ON_UNDEFINED_SYMBOLS=0']
class ArmclangCPPCompiler(ArmclangCompiler, CPPCompiler):
def __init__(self, exelist, version, for_machine: MachineChoice,

Loading…
Cancel
Save