@ -1,7 +1,7 @@
[package]
name = "gcc"
version = "0.1.2"
version = "0.1.3"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/alexcrichton/gcc-rs"
@ -109,7 +109,7 @@ pub fn compile_library(output: &str, config: &Config, files: &[&str]) {
.arg(dst.join(output))
.args(objects.as_slice())
.args(config.objects.as_slice()));
println!("cargo:rustc-flags=-L {} -l {}:static",
println!("cargo:rustc-flags=-L native={} -l {}:static",
dst.display(), output.slice(3, output.len() - 2));
}