aboutsummaryrefslogtreecommitdiff
path: root/src/comp/driver/rustc.rs
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-05-13 13:51:13 -0400
committerBrian Anderson <[email protected]>2011-05-13 13:55:57 -0400
commitc124404d0e1c8ce922a702661175495a65af1ea8 (patch)
tree4636da1809488aa322f87f47b99456c53004c9f3 /src/comp/driver/rustc.rs
parentrustc: Make typeck::instantiate_path() not return an annotation (diff)
downloadrust-c124404d0e1c8ce922a702661175495a65af1ea8.tar.xz
rust-c124404d0e1c8ce922a702661175495a65af1ea8.zip
Fix naming of libc that was mangled by recent module changes
It doesn't appear that rustc makes use of these strings so it didn't actually break anything yet.
Diffstat (limited to 'src/comp/driver/rustc.rs')
-rw-r--r--src/comp/driver/rustc.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 6592c23a..4940e7a0 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -35,11 +35,11 @@ fn default_environment(session::session sess,
str argv0,
str input) -> eval::env {
- auto libc = "libc::so";
+ auto libc = "libc.so";
alt (sess.get_targ_cfg().os) {
case (session::os_win32) { libc = "msvcrt.dll"; }
- case (session::os_macos) { libc = "libc::dylib"; }
- case (session::os_linux) { libc = "libc::so.6"; }
+ case (session::os_macos) { libc = "libc.dylib"; }
+ case (session::os_linux) { libc = "libc.so.6"; }
}
ret