diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-13 03:01:26 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-13 03:01:26 +0000 |
| commit | 17e7444a61051f6d1ae2bd9c328929018d9a3f9b (patch) | |
| tree | eefd1c5881d4d0343d4f30607a568be4bc5c52a1 /llvm/tools/llvmc/CompilerDriver.cpp | |
| parent | 8d206908d8aac117f9a81bfd6ad6ad7e8065555d (diff) | |
| download | bcm5719-llvm-17e7444a61051f6d1ae2bd9c328929018d9a3f9b.tar.gz bcm5719-llvm-17e7444a61051f6d1ae2bd9c328929018d9a3f9b.zip | |
PR351: \
Use sys::Path not FileUtilities to check file types
llvm-svn: 18865
Diffstat (limited to 'llvm/tools/llvmc/CompilerDriver.cpp')
| -rw-r--r-- | llvm/tools/llvmc/CompilerDriver.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/tools/llvmc/CompilerDriver.cpp b/llvm/tools/llvmc/CompilerDriver.cpp index 61d0d5ac8b9..f7630a2aaee 100644 --- a/llvm/tools/llvmc/CompilerDriver.cpp +++ b/llvm/tools/llvmc/CompilerDriver.cpp @@ -780,8 +780,9 @@ public: if (finalPhase == LINKING) { // Insert the platform-specific system libraries to the path list - LibraryPaths.push_back(sys::Path::GetSystemLibraryPath1()); - LibraryPaths.push_back(sys::Path::GetSystemLibraryPath2()); + std::vector<sys::Path> SysLibs; + sys::Path::GetSystemLibraryPaths(SysLibs); + LibraryPaths.insert(LibraryPaths.end(), SysLibs.begin(), SysLibs.end()); // Set up the linking action with llvm-ld Action* link = new Action(); |

