aboutsummaryrefslogtreecommitdiff
path: root/src/comp/rustc.rc
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-03-15 12:27:15 -0700
committerPatrick Walton <[email protected]>2011-03-15 12:27:48 -0700
commitb07634f212d7725040358815f08b575d930b4490 (patch)
treefda0315924745e8bbd4140063d56625183498714 /src/comp/rustc.rc
parentImprove depfile generation for rustc. (diff)
downloadrust-b07634f212d7725040358815f08b575d930b4490.tar.xz
rust-b07634f212d7725040358815f08b575d930b4490.zip
rustc: Add Rust bindings to the LLVM object file library
Diffstat (limited to 'src/comp/rustc.rc')
-rw-r--r--src/comp/rustc.rc12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc
index c3cae312..e00f033b 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -52,17 +52,23 @@ mod lib {
alt (target_os) {
case ("win32") {
let (llvm_lib = "LLVM-3.0.dll") {
- mod llvm;
+ let (llvmext_lib = "rustllvm.dll") {
+ mod llvm;
+ }
}
}
case ("macos") {
let (llvm_lib = "libLLVM-3.0svn.dylib") {
- mod llvm;
+ let (llvmext_lib = "librustllvm.dylib") {
+ mod llvm;
+ }
}
}
else {
let (llvm_lib = "libLLVM-3.0svn.so") {
- mod llvm;
+ let (llvmext_lib = "librustllvm.so") {
+ mod llvm;
+ }
}
}
}