diff options
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/lit/Suite/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/lit/Suite/lit.cfg b/lldb/lit/Suite/lit.cfg index 80f5ef0a3cd..aec9690662f 100644 --- a/lldb/lit/Suite/lit.cfg +++ b/lldb/lit/Suite/lit.cfg @@ -39,7 +39,7 @@ def find_shlibpath_var(): elif platform.system() == 'Windows': yield 'PATH' -if 'DYLD_INSERT_LIBRARIES' in os.environ: +if not 'DYLD_INSERT_LIBRARIES' in config.environment: # Shared library build of LLVM may require LD_LIBRARY_PATH or equivalent. # This clashes with DYLD_INSERT_LIBRARIES which is needed on Darwin. for shlibpath_var in find_shlibpath_var(): |