diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-03-07 22:27:14 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-03-07 22:28:46 +0100 |
commit | 5d217a94414117438d92b094956baead8ec942fb (patch) | |
tree | e9c7b06593d683284e9c47d19664f892237532d4 /core | |
parent | 27aacabf81f41a05f1269c868e5831861e2a1442 (diff) |
SCons: Fix parsing PATH when constructing base environment
We constructed the SCons environment without taking any (shell) environment
variables into account, and then appended a few, but too late. This would
cause variables like `env[CXX]` not to be properly expanded to respect a
non-standard `PATH`.
With this fix, setting:
```
PATH=$GODOT_SDK/bin:$PATH
```
will now properly use `$GODOT_SDK/bin/gcc` if available over `/usr/bin/gcc`.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions