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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user