diff --git a/lib/Interpreter/CMakeLists.txt b/lib/Interpreter/CMakeLists.txt index 2d63940e2..7568f7f3f 100644 --- a/lib/Interpreter/CMakeLists.txt +++ b/lib/Interpreter/CMakeLists.txt @@ -130,8 +130,6 @@ if(EMSCRIPTEN) PRIVATE "SHELL: -s WASM_BIGINT" PRIVATE "SHELL: -s SIDE_MODULE=1" PRIVATE "SHELL: ${SYMBOLS_LIST}" - PUBLIC "SHELL: -Wl,--export=__clang_Interpreter_SetValueNoAlloc" - PUBLIC "SHELL: -Wl,--export=__clang_Interpreter_SetValueWithAlloc" ) if (CPPINTEROP_ENABLE_TESTING) # When compiling Emscripten tests the shared library it links to is expected to be in the same folder as the compiled Javascript diff --git a/lib/Interpreter/exports.ld b/lib/Interpreter/exports.ld index b3192ddbf..d834500e0 100644 --- a/lib/Interpreter/exports.ld +++ b/lib/Interpreter/exports.ld @@ -45,4 +45,6 @@ -Wl,--export=_ZNK5clang10RecordDecl19isInjectedClassNameEv -Wl,--export=_ZNK5clang11DeclContext6lookupENS_15DeclarationNameE -Wl,--export=_ZNK5clang17ClassTemplateDecl18getSpecializationsEv --Wl,--export=_ZNK5clang4Sema15getStdNamespaceEv \ No newline at end of file +-Wl,--export=_ZNK5clang4Sema15getStdNamespaceEv +-Wl,--export=__clang_Interpreter_SetValueNoAlloc +-Wl,--export=__clang_Interpreter_SetValueWithAlloc \ No newline at end of file