User's path is now always forwarded, regardless of build platform.
Previously, user's path was only provided on Windows.
This commit is contained in:
parent
d42c3fce15
commit
32ba674b92
1 changed files with 2 additions and 1 deletions
|
@ -94,9 +94,10 @@ env = Environment(tools=["tar", "gettext", "install", "python_devel"], options =
|
|||
|
||||
opts.Save('.scons-option-cache', env)
|
||||
|
||||
# Make sure the user's environment is always available
|
||||
env['ENV']['PATH'] = os.environ["PATH"]
|
||||
if env["PLATFORM"] == "win32":
|
||||
env.Tool("mingw")
|
||||
env['ENV']['PATH'] = os.environ["PATH"]
|
||||
else:
|
||||
from cross_compile import *
|
||||
setup_cross_compile(env)
|
||||
|
|
Loading…
Add table
Reference in a new issue