Skip to content

Commit b96b8ef

Browse files
authored
Try exporting individual symbol
1 parent 67f0d1d commit b96b8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Interpreter/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 -s EXPORT_ALL=1 -s EXPORTED_FUNCTIONS=_ZN4llvm3sys2fs17getMainExecutableEPKcPv"
127+
LINK_FLAGS "-s WASM_BIGINT -s SIDE_MODULE=1 -s EXPORT_ALL=1 -Wl,--export=_ZN4llvm3sys2fs17getMainExecutableEPKcPv"
128128
SUFFIX ".wasm"
129129
)
130130

0 commit comments

Comments
 (0)