Skip to content

Commit 4bfaa63

Browse files
authored
Add FIXME about undefined symbols when dynamically linking Emscripten shared library to the unittests main_module
1 parent cd8c953 commit 4bfaa63

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/Interpreter/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ endif()
115115
)
116116

117117
if(EMSCRIPTEN)
118-
# Read the undefined symbols from the text file
118+
# FIXME: When dynamically linking the Emscripten shared library to the
119+
# unit tests main_module you get errors due to undefined symbols. The reading of the file
120+
# below into a SYMBOLS_LIST variable is a temporary workaround that exports the undefined
121+
# symbols from the shared library, until it can be determined why they are not being exported already.
119122
file(READ "${CMAKE_SOURCE_DIR}/lib/Interpreter/exports.ld" SYMBOLS_LIST)
120123

121124
# Replace newlines with spaces

0 commit comments

Comments
 (0)