From windows-msvc.qbs:
setupBuildEnvironment: { for (var key in buildEnv) { var v = new ModUtils.EnvironmentVariable(key); v.value = buildEnv[key]; v.set(); } }
As a result, all "appendable" variables such as PATH now contain only the values retrieved by the probe, while the original values are overwritten. These variables need to be merged instead.
For Gerrit Dashboard: QBS-1038 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
177445,2 | MSVC: Do not overwrite build environment with result from Probe | 1.7 | qbs/qbs | Status: MERGED | +2 | 0 |