Add previously removed code (for Apple only)
Since the recipe to query the system for its library search path doesn't work on MacOSX, keep the hard-coded path for the time being, until a proper solution is found
This commit is contained in:
parent
822b9363ef
commit
2faaa27b0e
@ -135,6 +135,12 @@ namespace cling {
|
||||
while ((++it) != SysPaths.end()) {
|
||||
Paths.push_back((*it).c_str());
|
||||
}
|
||||
#if __APPLE__
|
||||
Paths.push_back("/usr/local/lib/");
|
||||
Paths.push_back("/usr/X11R6/lib/");
|
||||
Paths.push_back("/usr/lib/");
|
||||
Paths.push_back("/lib/");
|
||||
#endif
|
||||
}
|
||||
#elif defined(LLVM_ON_WIN32)
|
||||
static void GetSystemLibraryPaths(llvm::SmallVectorImpl<std::string>& Paths) {
|
||||
|
Loading…
Reference in New Issue
Block a user