asm.js fallback fix
This commit is contained in:
parent
41c87891dc
commit
c3aaa3c5c6
@ -109,9 +109,9 @@ if [ "$DIST" = yes ]; then
|
||||
};
|
||||
Module.useBackupModule = function () {
|
||||
var Module = _Module;
|
||||
Module.onAbort = undefined;
|
||||
Module.onRuntimeInitialized = undefined;
|
||||
Module.useBackupModule = undefined;
|
||||
Object.keys(Module).forEach(function(k) {
|
||||
delete Module[k];
|
||||
});
|
||||
$(cat "${PREFIX}/lib/libsodium.asm.tmp.js" | sed 's|use asm||g')
|
||||
};
|
||||
$(cat "${PREFIX}/lib/libsodium.wasm.tmp.js")
|
||||
|
Loading…
Reference in New Issue
Block a user