mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-25 08:25:18 +08:00
wasm: Add actual emscripten installation to path in coin
I'm not sure where the emscripten-$version came from, maybe that's
how it used to be? In any case, in the current version (3.1.x),
the installation folder is in upstream/emscripten, so add PATH
there to access all emscripten utils.
Change-Id: I648feae21bc5caecc3f0bf0a7d16238680a85590
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
(cherry picked from commit 4a6f43ed8d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
committed by
Qt Cherry-pick Bot
parent
43a8ea3bbd
commit
9fc871298c
@@ -58,9 +58,12 @@ else
|
||||
pathNodeExecutable="node-$versionNode-linux-x64/bin/node"
|
||||
fi
|
||||
|
||||
SetEnvVar "PATH" "\"\$PATH:/opt/emsdk/emscripten-$version/\""
|
||||
SetEnvVar "EMSCRIPTEN" "/opt/emsdk/emscripten-$version"
|
||||
SetEnvVar "EMSDK" "/opt/emsdk"
|
||||
SetEnvVar "EMSDK_NODE" "/opt/emsdk/$pathNodeExecutable"
|
||||
emsdkPath="/opt/emsdk/"
|
||||
emscriptenPath="${emsdkPath}upstream/emscripten/"
|
||||
|
||||
SetEnvVar "PATH" "\"\$PATH:${emscriptenPath}\""
|
||||
SetEnvVar "EMSCRIPTEN" "${emscriptenPath}"
|
||||
SetEnvVar "EMSDK" "${emsdkPath}"
|
||||
SetEnvVar "EMSDK_NODE" "${emsdkPath}${pathNodeExecutable}"
|
||||
|
||||
echo "Emsdk = $version" >> ~/versions.txt
|
||||
|
||||
Reference in New Issue
Block a user