Commit 5d2b3cec authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Update build scripts

parent cdd36de2
...@@ -5,6 +5,7 @@ all: CARGO ...@@ -5,6 +5,7 @@ all: CARGO
.PHONY: CARGO .PHONY: CARGO
CARGO: CARGO:
CARGO_HOME=/var/tmp/.cargo cargo build --color=never CARGO_HOME=/var/tmp/.cargo cargo build --color=never
CARGO_HOME=/var/tmp/.cargo cargo build --color=never --release
.PHONY: SHIPPING .PHONY: SHIPPING
SHIPPING: $(OUT_DIR)libhash.a \ SHIPPING: $(OUT_DIR)libhash.a \
......
...@@ -12,7 +12,7 @@ fn main() { ...@@ -12,7 +12,7 @@ fn main() {
panic!(); panic!();
} }
println!("cargo:rustc-link-search=native={}", out_dir); println!("cargo:rustc-link-search=native={}", out_dir);
println!("cargo:rustc-link-lib=static=hash"); // println!("cargo:rustc-link-lib=static=hash");
println!("cargo:rustc-link-lib=dylib=crypto"); println!("cargo:rustc-link-lib=dylib=crypto");
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment