You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Emscripten.cmake toolchain file has:
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
which makes modules with SIDE_MODULE assert with:
Aborted(Assertion failed: need to see wasm magic number)
I have a small test which has one main and two small libs (main is MAIN_MODULE)
It will fail if I create the libraries like so:
add_library(_a STATIC lib_a.cpp)
If I comment out that line in Emscripten.cmake file that still fails.
But if I also change to shared lib:
add_library(_a SHARED lib_a.cpp)
Activity