diff options
author | Kleis Auke Wolthuizen <github@kleisauke.nl> | 2022-10-30 11:43:33 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-12-27 06:59:55 -0500 |
commit | 51ac9ed31783f55347e09ae8a80eaebec81e935c (patch) | |
tree | 22e5bab071823858b16a46d2ee848209c78c4a0e /mesonbuild/linkers | |
parent | 898e85d84754536e5f59db770d49b6c057939940 (diff) | |
download | meson-51ac9ed31783f55347e09ae8a80eaebec81e935c.zip meson-51ac9ed31783f55347e09ae8a80eaebec81e935c.tar.gz meson-51ac9ed31783f55347e09ae8a80eaebec81e935c.tar.bz2 |
emscripten: use single arguments when specifying options
i.e. without a space between the "-s" and option name. See:
https://github.com/emscripten-core/emscripten/issues/11463
This is supported since Emscripten 1.39.19, see:
https://github.com/emscripten-core/emscripten/commit/f45bea21f3a8f74a68ed4e3e3d7e290807ee2aff
Diffstat (limited to 'mesonbuild/linkers')
-rw-r--r-- | mesonbuild/linkers/linkers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py index 3385dd3..cf2d339 100644 --- a/mesonbuild/linkers/linkers.py +++ b/mesonbuild/linkers/linkers.py @@ -889,10 +889,10 @@ class WASMDynamicLinker(GnuLikeDynamicLinkerMixin, PosixDynamicLinkerMixin, Dyna id = 'ld.wasm' def get_allow_undefined_args(self) -> T.List[str]: - return ['-s', 'ERROR_ON_UNDEFINED_SYMBOLS=0'] + return ['-sERROR_ON_UNDEFINED_SYMBOLS=0'] def no_undefined_args(self) -> T.List[str]: - return ['-s', 'ERROR_ON_UNDEFINED_SYMBOLS=1'] + return ['-sERROR_ON_UNDEFINED_SYMBOLS=1'] def get_soname_args(self, env: 'Environment', prefix: str, shlib_name: str, suffix: str, soversion: str, darwin_versions: T.Tuple[str, str]) -> T.List[str]: |