wasm: fix passing environmental variables
Task-number: QTBUG-75530 Change-Id: Ic0f0bd8ce863f55d737d96bbf9e5473466381c9b Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
854156dd07
commit
837c80bad3
@ -404,7 +404,7 @@ function QtLoader(config)
|
||||
Module.preRun = Module.preRun || []
|
||||
Module.preRun.push(function() {
|
||||
for (var [key, value] of Object.entries(config.environment)) {
|
||||
Module.ENV[key.toUpperCase()] = value;
|
||||
ENV[key.toUpperCase()] = value;
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user