diff options
author | Andrei Alexeyev <akari@taisei-project.org> | 2019-09-08 02:35:02 +0300 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-10-14 13:04:34 -0700 |
commit | f347a980feeab00e7c089829b021c2177a9ed7dd (patch) | |
tree | d4a1dbb635d7125ced13759fa1db9cf9b5f6f79c /mesonbuild/compilers/cpp.py | |
parent | 31b8ddab515bf84e0471054e68daa0bc1438779b (diff) | |
download | meson-f347a980feeab00e7c089829b021c2177a9ed7dd.zip meson-f347a980feeab00e7c089829b021c2177a9ed7dd.tar.gz meson-f347a980feeab00e7c089829b021c2177a9ed7dd.tar.bz2 |
Implement get_allow_undefined_link_args in EmscriptenCPPCompiler
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r-- | mesonbuild/compilers/cpp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 2b3b162..7380f89 100644 --- a/mesonbuild/compilers/cpp.py +++ b/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, |