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:
Greg Copeland 2008-07-25 20:05:52 +00:00
parent d42c3fce15
commit 32ba674b92

View file

@ -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)