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:
parent
7439b5595d
commit
2af8a72663
@ -262,7 +262,8 @@ def configure(env, env_mono):
|
|||||||
env_mono.Append(CPPDEFINES=["_REENTRANT"])
|
env_mono.Append(CPPDEFINES=["_REENTRANT"])
|
||||||
|
|
||||||
if mono_static:
|
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")
|
mono_lib_file = os.path.join(mono_lib_path, "lib" + mono_lib + ".a")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user