diff options
author | chriseth <chris@ethereum.org> | 2019-01-22 06:26:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-22 06:26:22 +0800 |
commit | f33b81676f9d97b6dc0fa30804cb06f850bccd34 (patch) | |
tree | 015b8d24bb08eb0767b585076199f22570d17c47 | |
parent | 05b0d32e0a16c40cd839af80f465f16c657a84c0 (diff) | |
parent | 4c9bbd85e6cf0f15906ba4aa84b907617e409f82 (diff) | |
download | dexon-solidity-f33b81676f9d97b6dc0fa30804cb06f850bccd34.tar.gz dexon-solidity-f33b81676f9d97b6dc0fa30804cb06f850bccd34.tar.zst dexon-solidity-f33b81676f9d97b6dc0fa30804cb06f850bccd34.zip |
Merge pull request #5831 from ethereum/soljsonPatchBackwardsCompatible
Patch soljson.js to provide backwards compatibility with older emscripten versions.
-rwxr-xr-x | scripts/travis-emscripten/build_emscripten.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 ./ |