Skip to content

Commit 2c4f6d6

Browse files
committed
yes
1 parent 8e8912a commit 2c4f6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ if(EMSCRIPTEN)
8484
# compiler flags
8585
set_target_properties(xplugin_host PROPERTIES COMPILE_FLAGS "-s MAIN_MODULE=1")
8686
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")
87+
set_target_properties(xplugin_host PROPERTIES LINK_FLAGS "-s MAIN_MODULE=1 -s \"EXTRA_EXPORTED_RUNTIME_METHODS=['FS']\"")
8888
set_target_properties(xplugin_plugin PROPERTIES LINK_FLAGS "-s SIDE_MODULE=1")
8989
endif()
9090

0 commit comments

Comments
 (0)