devops: fix firefox-beta compilation on windows (#12444)

This commit is contained in:
Andrey Lushnikov 2022-03-01 13:44:07 -07:00 committed by GitHub
parent 5b7db90cb6
commit 5827fb504b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,6 +96,8 @@ if [[ $1 == "--full" || $2 == "--full" || $1 == "--bootstrap" ]]; then
if [[ ! -z "${WIN32_REDIST_DIR}" ]]; then
# Having this option in .mozconfig kills incremental compilation.
echo "export WIN32_REDIST_DIR=\"$WIN32_REDIST_DIR\"" >> .mozconfig
echo "export MSVC_C_RUNTIME_DLL=vcruntime140.dll" >> .mozconfig
echo "export MSVC_CXX_RUNTIME_DLL=msvcp140.dll" >> .mozconfig
fi
fi