mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 05:15:09 +00:00
bf0e86a9dc
Now that everything is lined up nicely, we don't need those anymore. We can fill cargo-linker.bat with HOST_LINKER and HOST_LINKER_LIBPATHS, which, unfortunately, can't be used as is, so we add a variant for substitution in .bat files. Differential Revision: https://phabricator.services.mozilla.com/D18034 --HG-- extra : moz-landing-system : lando
14 lines
403 B
Plaintext
14 lines
403 B
Plaintext
if [ -z "${VSPATH}" ]; then
|
|
TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
|
|
VSPATH="$(cd ${TOOLTOOL_DIR} && pwd)/vs2017_15.9.6"
|
|
fi
|
|
|
|
if [ -d "${VSPATH}" ]; then
|
|
VSWINPATH="$(cd ${VSPATH} && pwd -W)"
|
|
|
|
export WINDOWSSDKDIR="${VSWINPATH}/SDK"
|
|
export WIN32_REDIST_DIR=${VSPATH}/VC/redist/arm64/Microsoft.VC141.CRT
|
|
export DIA_SDK_PATH="${VSPATH}/DIA SDK"
|
|
export VC_PATH="${VSPATH}/VC"
|
|
fi
|