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:
Bertrand Bellenot 2013-12-18 16:27:44 +01:00 committed by sftnight
parent 822b9363ef
commit 2faaa27b0e

View File

@ -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) {