rustc: Switch over to using rustllvm.dll exclusively, ending the "Franken-LLVM" problem

This commit is contained in:
Patrick Walton 2011-03-23 17:48:53 -07:00
parent 9aae248649
commit 4c5ab05741
2 changed files with 7 additions and 13 deletions

View File

@ -742,7 +742,7 @@ native mod llvm = llvm_lib {
fn LLVMDisposeMemoryBuffer(MemoryBufferRef MemBuf);
}
native mod llvmext = llvmext_lib {
native mod llvmext = llvm_lib {
type ObjectFileRef;
type SectionIteratorRef;

View File

@ -52,24 +52,18 @@ auth pretty.pprust = impure;
mod lib {
alt (target_os) {
case ("win32") {
let (llvm_lib = "LLVM-3.0svn.dll") {
let (llvmext_lib = "rustllvm.dll") {
mod llvm;
}
let (llvm_lib = "rustllvm.dll") {
mod llvm;
}
}
case ("macos") {
let (llvm_lib = "libLLVM-3.0svn.dylib") {
let (llvmext_lib = "librustllvm.dylib") {
mod llvm;
}
let (llvm_lib = "librustllvm.dylib") {
mod llvm;
}
}
else {
let (llvm_lib = "libLLVM-3.0svn.so") {
let (llvmext_lib = "librustllvm.so") {
mod llvm;
}
let (llvm_lib = "librustllvm.so") {
mod llvm;
}
}
}