Mono: Don't use -rdynamic when compiling for WASM

`-rdynamic` was causing the emsdk linker to silently fail to
generate the output `.wasm` file (even though exit code was 0).
This commit is contained in:
Ignacio Etcheverry 2020-12-04 23:47:12 +01:00
parent 7439b5595d
commit 2af8a72663

View File

@ -262,6 +262,7 @@ def configure(env, env_mono):
env_mono.Append(CPPDEFINES=["_REENTRANT"])
if mono_static:
if not is_javascript:
env.Append(LINKFLAGS=["-rdynamic"])
mono_lib_file = os.path.join(mono_lib_path, "lib" + mono_lib + ".a")