Fix symbol names on LLVM C library binding and library-name for LLVM.

This commit is contained in:
Graydon Hoare 2010-08-18 00:19:25 -07:00
parent 9277f551d3
commit 3f2c39b3d8
2 changed files with 820 additions and 559 deletions

File diff suppressed because it is too large Load Diff

View File

@ -13,20 +13,22 @@ mod driver {
mod rustc;
}
auth driver = unsafe;
mod lib {
alt (target_os) {
case ("win32") {
let (llvm_lib = "llvm-2.8svn.dll") {
let (llvm_lib = "LLVM-2.8svn.dll") {
mod llvm;
}
}
case ("macos") {
let (llvm_lib = "libllvm-2.8svn.dylib") {
let (llvm_lib = "libLLVM-2.8svn.dylib") {
mod llvm;
}
}
else {
let (llvm_lib = "libllvm-2.8svn.so") {
let (llvm_lib = "libLLVM-2.8svn.so") {
mod llvm;
}
}