diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-12-04 23:47:12 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-12-14 21:16:09 +0100 |
commit | 2af8a7266370b7e641c79bef9425031e6fe68a27 (patch) | |
tree | fafabf73d0689c19aef667c5be41742c2a096e1e | |
parent | 7439b5595d0977fa97ed868d792e02234644cbee (diff) |
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).
-rw-r--r-- | modules/mono/build_scripts/mono_configure.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mono/build_scripts/mono_configure.py b/modules/mono/build_scripts/mono_configure.py index 6057004166..62fd64cf66 100644 --- a/modules/mono/build_scripts/mono_configure.py +++ b/modules/mono/build_scripts/mono_configure.py @@ -262,7 +262,8 @@ def configure(env, env_mono): env_mono.Append(CPPDEFINES=["_REENTRANT"]) if mono_static: - env.Append(LINKFLAGS=["-rdynamic"]) + if not is_javascript: + env.Append(LINKFLAGS=["-rdynamic"]) mono_lib_file = os.path.join(mono_lib_path, "lib" + mono_lib + ".a") |