Index: llvm/utils/lit/lit/llvm/config.py =================================================================== --- llvm/utils/lit/lit/llvm/config.py +++ llvm/utils/lit/lit/llvm/config.py @@ -644,7 +644,7 @@ self.with_environment('PATH', paths, append_path=True) lib_dir_props = [self.config.name.lower() + '_libs_dir', - 'lld_libs_dir', 'llvm_libs_dir'] + 'lld_libs_dir', 'llvm_shlib_dir', 'llvm_libs_dir'] lib_paths = [getattr(self.config, pp) for pp in lib_dir_props if getattr(self.config, pp, None)]