File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ if(EMSCRIPTEN)
124124 set_target_properties (clangCppInterOp PROPERTIES
125125 NO_SONAME 1
126126 COMPILE_FLAGS "-s SIDE_MODULE=1"
127- LINK_FLAGS "-s WASM_BIGINT -s SIDE_MODULE=1 -Wl,--export-all "
127+ LINK_FLAGS "-s WASM_BIGINT -s SIDE_MODULE=1 -s EXPORT_ALL=1 "
128128 SUFFIX ".wasm"
129129 )
130130
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ add_cppinterop_unittest(CppInterOpTests
1616
1717if (EMSCRIPTEN)
1818 set_target_properties (CppInterOpTests PROPERTIES
19- LINK_FLAGS "-s MAIN_MODULE=1 -s MODULARIZE=1 "
19+ LINK_FLAGS "-s MAIN_MODULE=1"
2020 )
2121endif ()
2222 target_link_libraries (CppInterOpTests
@@ -57,7 +57,7 @@ target_link_libraries(DynamicLibraryManagerTests
5757
5858if (EMSCRIPTEN)
5959 target_link_options (DynamicLibraryManagerTests PRIVATE
60- "SHELL: -s MAIN_MODULE=1 -s MODULARIZE=1 "
60+ "SHELL: -s MAIN_MODULE=1"
6161 )
6262endif ()
6363
You can’t perform that action at this time.
0 commit comments