Do not forget to export the new symbol.

This commit is contained in:
chriseth 2015-10-15 19:18:14 +02:00
parent cb869fd5a4
commit 370b6db3ae

View File

@ -18,7 +18,7 @@ else()
endif() endif()
if (EMSCRIPTEN) if (EMSCRIPTEN)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\"]'") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\",\"_compileJSONMulti\"]'")
add_executable(soljson jsonCompiler.cpp ${HEADERS}) add_executable(soljson jsonCompiler.cpp ${HEADERS})
eth_use(soljson REQUIRED Solidity) eth_use(soljson REQUIRED Solidity)
else() else()