Patch soljson.js to provide backwards compatibility with older emscripten versions.

This commit is contained in:
chriseth 2019-01-21 15:30:29 +01:00
parent 8f694d5119
commit 4c9bbd85e6

View File

@ -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 ./