Browse Source

Use new dedicated metadata for Cargo

add-rc-path
Alex Crichton 10 years ago
parent
commit
4018432ed9
  1. 5
      src/lib.rs

5
src/lib.rs

@ -164,8 +164,9 @@ impl Config {
.args(&objects)
.args(&self.objects),
&ar(&target));
println!("cargo:rustc-flags=-L native={} -l static={}",
dst.display(), &output[3..output.len() - 2]);
println!("cargo:rustc-link-search=native={}", dst.display());
println!("cargo:rustc-link-lib=static={}",
&output[3..output.len() - 2]);
}
fn gcc(&self) -> Command {

Loading…
Cancel
Save