Fix libary path of modules for Windows
This commit fixes the library path of modules in Windows by adding the Bin directory in the list of paths. Previously, ROOT by default assumes that modules are present in the Lib directory which is not the case for Windows.
This commit is contained in:
parent
3d7672afe3
commit
18f9c31d5d
@ -526,7 +526,7 @@ namespace {
|
||||
static SmallVector<StringRef, 4> getPathsFromEnv(const char* EnvVar) {
|
||||
if (!EnvVar) return {};
|
||||
SmallVector<StringRef, 4> Paths;
|
||||
StringRef(EnvVar).split(Paths, ':', -1, false);
|
||||
StringRef(EnvVar).split(Paths, llvm::sys::EnvPathSeparator, -1, false);
|
||||
return Paths;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user