Skip to content

Commit

Permalink
miniz-sys: Provide the build directory path to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcallister committed May 14, 2015
1 parent 5a78698 commit c0c9b42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions miniz-sys/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
extern crate gcc;

use std::env;

fn main() {
gcc::compile_library("libminiz.a", &["miniz.c"]);
println!("cargo:root={}", env::var("OUT_DIR").unwrap());
}

0 comments on commit c0c9b42

Please sign in to comment.