mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 00:59:49 +00:00
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
@ -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…
x
Reference in New Issue
Block a user