We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e8912a commit 2c4f6d6Copy full SHA for 2c4f6d6
CMakeLists.txt
@@ -84,7 +84,7 @@ if(EMSCRIPTEN)
84
# compiler flags
85
set_target_properties(xplugin_host PROPERTIES COMPILE_FLAGS "-s MAIN_MODULE=1")
86
set_target_properties(xplugin_plugin PROPERTIES COMPILE_FLAGS "-s SIDE_MODULE=1")
87
- set_target_properties(xplugin_host PROPERTIES LINK_FLAGS "-s MAIN_MODULE=1")
+ set_target_properties(xplugin_host PROPERTIES LINK_FLAGS "-s MAIN_MODULE=1 -s \"EXTRA_EXPORTED_RUNTIME_METHODS=['FS']\"")
88
set_target_properties(xplugin_plugin PROPERTIES LINK_FLAGS "-s SIDE_MODULE=1")
89
endif()
90
0 commit comments