From 4c9bbd85e6cf0f15906ba4aa84b907617e409f82 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 21 Jan 2019 15:30:29 +0100 Subject: Patch soljson.js to provide backwards compatibility with older emscripten versions. --- scripts/travis-emscripten/build_emscripten.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/travis-emscripten/build_emscripten.sh b/scripts/travis-emscripten/build_emscripten.sh index 373f32db..0b6c5346 100755 --- a/scripts/travis-emscripten/build_emscripten.sh +++ b/scripts/travis-emscripten/build_emscripten.sh @@ -96,6 +96,8 @@ make -j 4 cd .. mkdir -p upload +# Patch soljson.js to provide backwards-compatibility with older emscripten versions +echo ";/* backwards compatibility */ Module['Runtime'] = Module;" >> build/libsolc/soljson.js cp build/libsolc/soljson.js upload/ cp build/libsolc/soljson.js ./ -- cgit