0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

Make SConstruct robust to TERM not being set.

This commit is contained in:
Andy Schwerin 2012-02-08 09:44:27 -05:00
parent 8294769d84
commit 0b0a55509e

View File

@ -707,7 +707,10 @@ if nix:
#make scons colorgcc friendly
env['ENV']['HOME'] = os.environ['HOME']
env['ENV']['TERM'] = os.environ['TERM']
try:
env['ENV']['TERM'] = os.environ['TERM']
except KeyError:
pass
if linux and has_option( "sharedclient" ):
env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )