summaryrefslogtreecommitdiff
path: root/tools/gccld/gccld.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-11-24 05:31:57 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-11-24 05:31:57 +0000
commit0d2459a49f4f85766552a00e604d12c02c0353f5 (patch)
tree0ad04b409d2eff1d644f339c163dec39b64456ac /tools/gccld/gccld.cpp
parent3e15c7a9761b0db253fc74caef0902940fe9872a (diff)
downloadllvm-0d2459a49f4f85766552a00e604d12c02c0353f5.tar.gz
llvm-0d2459a49f4f85766552a00e604d12c02c0353f5.tar.bz2
llvm-0d2459a49f4f85766552a00e604d12c02c0353f5.tar.xz
I'm gonna be picky and say we don't really need that trailing slash "lib/"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccld/gccld.cpp')
-rw-r--r--tools/gccld/gccld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index 67db704779..176679b02f 100644
--- a/tools/gccld/gccld.cpp
+++ b/tools/gccld/gccld.cpp
@@ -285,7 +285,7 @@ int main(int argc, char **argv, char **envp) {
// gcc accepts -l<lib> and implicitly searches /lib and /usr/lib.
LibPaths.push_back("/lib");
LibPaths.push_back("/usr/lib");
- LibPaths.push_back("/usr/X11R6/lib/");
+ LibPaths.push_back("/usr/X11R6/lib");
// We don't need to link in libc! In fact, /usr/lib/libc.so may not be a
// shared object at all! See RH 8: plain text.
std::vector<std::string>::iterator libc =