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 3bf5cd7 commit e2b68c7Copy full SHA for e2b68c7
lib/CppInterOp/CMakeLists.txt
@@ -122,7 +122,11 @@ if(EMSCRIPTEN)
122
# unit tests main_module you get errors due to undefined symbols. The reading of the file
123
# below into a SYMBOLS_LIST variable is a temporary workaround that exports the undefined
124
# symbols from the shared library, until it can be determined why they are not being exported already.
125
- file(READ "${CMAKE_CURRENT_SOURCE_DIR}/exports.ld" SYMBOLS_LIST)
+ if (CPPINTEROP_USE_CLING)
126
+ file(READ "${CMAKE_CURRENT_SOURCE_DIR}/cling-exports.ld" SYMBOLS_LIST)
127
+ else()
128
+ file(READ "${CMAKE_CURRENT_SOURCE_DIR}/exports.ld" SYMBOLS_LIST)
129
+ endif()
130
131
# Replace newlines with spaces
132
string(REPLACE "\n" " " SYMBOLS_LIST "${SYMBOLS_LIST}")
0 commit comments