We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9499ae commit 1a170f9Copy full SHA for 1a170f9
lib/Interpreter/CMakeLists.txt
@@ -2,6 +2,9 @@ if(EMSCRIPTEN)
2
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE)
3
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-s SIDE_MODULE=1")
4
set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-s SIDE_MODULE=1")
5
+ set(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "")
6
+ set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "")
7
+ set(CMAKE_SHARED_LINKER_FLAGS "")
8
set(CMAKE_STRIP FALSE)
9
10
add_llvm_library(clangCppInterOp
@@ -17,6 +20,9 @@ if(EMSCRIPTEN)
17
20
LINK_LIBS
18
21
clangInterpreter
19
22
)
23
+ set_target_properties(clangCppInterOp
24
+ PROPERTIES NO_SONAME 1
25
+)
26
target_link_options(clangCppInterOp PRIVATE
27
PUBLIC "SHELL: -s WASM_BIGINT"
28
0 commit comments