Skip to content

Commit 6c7a7e4

Browse files
committed
main module
1 parent 955787c commit 6c7a7e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ if(EMSCRIPTEN)
293293
xeus_wasm_link_options(xsqlite "web,worker")
294294

295295
target_link_options(xsqlite
296+
PUBLIC "SHELL: -s MAIN_MODULE=1"
296297
PUBLIC "SHELL: -s FETCH=1"
297298
PUBLIC "SHELL: -s NO_EXIT_RUNTIME=1"
298299
PUBLIC "SHELL: -s 'ASYNCIFY_IMPORTS=[\"async_ems_init_idbfs\", \"async_ems_sync_db\"]'"

0 commit comments

Comments
 (0)