Another try at handling LD_LIBRARY_PATH not being defined.
llvm-svn: 225932
This commit is contained in:
parent
a64949dfb8
commit
c7e4fb209e
|
@ -8,7 +8,7 @@ lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.un
|
|||
|
||||
def push_ld_library_path(config, new_path):
|
||||
new_ld_library_path = os.path.pathsep.join(
|
||||
(new_path, config.environment['LD_LIBRARY_PATH']))
|
||||
(new_path, config.environment.get('LD_LIBRARY_PATH', '')))
|
||||
config.environment['LD_LIBRARY_PATH'] = new_ld_library_path
|
||||
|
||||
# Setup config name.
|
||||
|
|
Loading…
Reference in New Issue