summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
Diffstat (limited to 'evergreen')
-rw-r--r--evergreen/ninja_compile.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/evergreen/ninja_compile.sh b/evergreen/ninja_compile.sh
index eea669343fe..f3b51ae5e1d 100644
--- a/evergreen/ninja_compile.sh
+++ b/evergreen/ninja_compile.sh
@@ -10,8 +10,11 @@ python -m pip install ninja
if [ "Windows_NT" = "$OS" ]; then
vcvars="$(vswhere -latest -property installationPath | tr '\\' '/' | dos2unix.exe)/VC/Auxiliary/Build/"
echo "call \"$vcvars/vcvarsall.bat\" amd64" > msvc.bat
+ for i in "${compile_env[@]}"; do
+ echo "set $i" >> msvc.bat
+ done
echo "ninja install-core" >> msvc.bat
cmd /C msvc.bat
else
- ninja install-core
+ eval ${compile_env} ninja install-core
fi