Fix refactoring missed in previous commit r313270 which resulted in an undefined variable being used.

llvm-svn: 313290
This commit is contained in:
Douglas Yung 2017-09-14 19:51:26 +00:00
parent 0e69bd3c3a
commit d8e4ab3efd
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ shlibpath = os.path.pathsep.join((config.shlibdir, config.llvm_libs_dir,
config.environment.get(shlibpath_var,'')))
# Win32 seeks DLLs along %PATH%.
if sys.platform in ['win32', 'cygwin'] and os.path.isdir(shlibdir):
if sys.platform in ['win32', 'cygwin'] and os.path.isdir(config.shlibdir):
shlibpath = os.path.pathsep.join((config.shlibdir, shlibpath))
config.environment[shlibpath_var] = shlibpath