From dd162dccaa50a28b6abbd505722b1efdb310c395 Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev Date: Sun, 8 Sep 2019 03:51:45 +0300 Subject: Implement get_linker_output_args in Emscripten compilers --- mesonbuild/compilers/cpp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mesonbuild/compilers/cpp.py') diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 7380f89..b170538 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -219,6 +219,9 @@ class EmscriptenCPPCompiler(LinkerEnvVarsMixin, BasicLinkerIsCompilerMixin, Clan def get_allow_undefined_link_args(self) -> typing.List[str]: return ['-s', 'ERROR_ON_UNDEFINED_SYMBOLS=0'] + def get_linker_output_args(self, output: str) -> typing.List[str]: + return ['-o', output] + class ArmclangCPPCompiler(ArmclangCompiler, CPPCompiler): def __init__(self, exelist, version, for_machine: MachineChoice, -- cgit v1.1