fixup SConstruct in case there is no terminal in the environment
This commit is contained in:
parent
1a693ef8f1
commit
20dbcff99c
1 changed files with 4 additions and 1 deletions
|
@ -138,7 +138,10 @@ if env['OS_ENV']:
|
|||
|
||||
# Make sure the user's environment is always available
|
||||
env['ENV']['PATH'] = os.environ.get("PATH")
|
||||
env['ENV']['TERM'] = os.environ.get("TERM")
|
||||
term = os.environ.get('TERM')
|
||||
if term is not None:
|
||||
env['ENV']['TERM'] = term
|
||||
|
||||
if env["PLATFORM"] == "win32":
|
||||
env.Tool("mingw")
|
||||
elif env["PLATFORM"] == "sunos":
|
||||
|
|
Loading…
Add table
Reference in a new issue