2017-10-26 00:56:30 +03:00
|
|
|
if [ -z "${VSPATH}" ]; then
|
2022-04-13 01:52:54 +03:00
|
|
|
VSPATH="$(cd ${MOZ_FETCHES_DIR} && pwd)/vs"
|
2017-10-26 00:56:30 +03:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d "${VSPATH}" ]; then
|
2020-02-28 00:39:39 +03:00
|
|
|
VSWINPATH="$(cd ${VSPATH} && (pwd -W 2>/dev/null || pwd))"
|
2017-10-26 00:56:30 +03:00
|
|
|
|
2022-04-13 01:52:54 +03:00
|
|
|
export WINDOWSSDKDIR="${VSWINPATH}/windows kits/10"
|
|
|
|
export WIN32_REDIST_DIR=${VSPATH}/vc/redist/msvc/14.16.27012/x64/microsoft.vc141.crt
|
|
|
|
export WIN_UCRT_REDIST_DIR="${VSPATH}/windows kits/10/redist/ucrt/dlls/x64"
|
|
|
|
export VC_PATH="${VSPATH}/vc/tools/msvc/14.16.27023"
|
2017-10-26 00:56:30 +03:00
|
|
|
fi
|