If LD_LIBRARY_PATH is set in the system environment, use it.

llvm-svn: 97796
This commit is contained in:
Duncan Sands 2010-03-05 08:21:02 +00:00
parent 343d2e48b2
commit 798ca1e6fe
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ class TestingConfig:
if config is None:
# Set the environment based on the command line arguments.
environment = {
'LD_LIBRARY_PATH' : os.environ.get('LD_LIBRARY_PATH',''),
'PATH' : os.pathsep.join(litConfig.path +
[os.environ.get('PATH','')]),
'PATHEXT' : os.environ.get('PATHEXT',''),