diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-22 18:19:01 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-22 18:19:01 -0400 |
commit | 245c3e25d6754a5d7f298a01fddf53723010ca13 (patch) | |
tree | ee2a08a88863921c816eae5da72b34578782fe14 /gcc | |
parent | 5ca87b7ab3d4e7acaf7d331371daa09deda38ac9 (diff) | |
download | gcc-245c3e25d6754a5d7f298a01fddf53723010ca13.zip gcc-245c3e25d6754a5d7f298a01fddf53723010ca13.tar.gz gcc-245c3e25d6754a5d7f298a01fddf53723010ca13.tar.bz2 |
(locatelib): Fix parsing of LD_LIBRARY_PATH.
From-SVN: r10024
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/collect2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index 87ae569..52a0445 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -2181,7 +2181,7 @@ locatelib (name) if (*q == ':') { *q++ = 0; - *pp++ = p; + *pp++ = q; } } /* built in directories are /lib, /usr/lib, and /usr/local/lib */ |