Skip to content

Commit 6dc72d0

Browse files
authored
Try exporting second symbol
1 parent b96b8ef commit 6dc72d0

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 -Wl,--export=_ZN4llvm3sys2fs17getMainExecutableEPKcPv"
127+
LINK_FLAGS "-s WASM_BIGINT -s SIDE_MODULE=1 -s EXPORT_ALL=1 -Wl,--export=_ZN4llvm3sys2fs17getMainExecutableEPKcPv,_ZN4llvm3sys4path11parent_pathENS_9StringRefENS1_5StyleE
128128
SUFFIX ".wasm"
129129
)
130130

0 commit comments

Comments
 (0)