diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-03-10 11:05:39 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-03-10 11:07:34 +0100 |
commit | b7ebd22314f72c1021bd75efd14583089027558f (patch) | |
tree | 765f5ce16c13c6f90e2e1343731f6c2e630ca816 /doc/classes/JNISingleton.xml | |
parent | 469ac1e4152b75b2e3b88cf7bc3a9623f0d7da39 (diff) |
SCons: Use default env["ENV"] and prepend PATH to it
See discussion in #46814. Now going with the safe option again (like in 3.2)
as it turns out that we can't rely on user environments on Windows, since each
shell has a different set of env variables (especially the ones necessary to
use MSVC).
SCons does its own magic when we don't pass it an `ENV` dictionary, so we
should preserve it and only add things in a second step.
Fixes this warning when compiling with MSVC using git-bash.exe:
```
Missing environment variable: WindowsSdkDir
```
Possibly fixes build issues when having both MinGW and MSVC installed and an
older SCons version.
Diffstat (limited to 'doc/classes/JNISingleton.xml')
0 files changed, 0 insertions, 0 deletions