]> git.proxmox.com Git - rustc.git/commitdiff
Dump the llvm version in the patch too
authorSylvestre Ledru <sylvestre@debian.org>
Wed, 5 Oct 2016 08:49:10 +0000 (10:49 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 21 Oct 2016 12:45:04 +0000 (14:45 +0200)
debian/patches/dynamic-link-llvm.patch

index 09c3a1735bc570646f598222efed143319833b10..0b1018351c9c0dd7b70ee90f2a38ef70ab99049f 100644 (file)
@@ -28,7 +28,7 @@ Index: rust/src/librustc_llvm/build.rs
 +       // Link in all LLVM libraries
 +       // Link in Debian full LLVM shared library.
 +       // TODO: not sure what to do in the cross-compiling case.
-+       println!("cargo:rustc-link-lib={}={}", "dylib", "LLVM-3.8");
++       println!("cargo:rustc-link-lib={}={}", "dylib", "LLVM-3.9");
      }
 -    cmd.args(&components[..]);
 -
@@ -113,7 +113,7 @@ Index: rust/src/etc/mklldeps.py
 -    f.write(")]\n")
 +# Link in Debian full LLVM shared library.
 +# TODO: not sure what to do in the cross-compiling case.
-+f.write("#[link(name = \"LLVM-3.8\")]\n")
++f.write("#[link(name = \"LLVM-3.9\")]\n")
 +
  
  # LLVM ldflags