Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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`. (cherry picked from commit 5d217a9)
- Loading branch information