From 5d2b3ceccf677b800729a6c98c0ecca6414edc27 Mon Sep 17 00:00:00 2001
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Tue, 3 Apr 2018 17:35:55 +0200
Subject: [PATCH] Update build scripts

---
 Makefile | 1 +
 build.rs | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 63ad3d0..fbeeeb0 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ all: CARGO
 .PHONY: CARGO
 CARGO:
 	CARGO_HOME=/var/tmp/.cargo cargo build --color=never
+	CARGO_HOME=/var/tmp/.cargo cargo build --color=never --release
 
 .PHONY: SHIPPING
 SHIPPING: $(OUT_DIR)libhash.a \
diff --git a/build.rs b/build.rs
index 9c63429..820c5cd 100644
--- a/build.rs
+++ b/build.rs
@@ -12,7 +12,7 @@ fn main() {
         panic!();
     }
     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");
     
 }
-- 
GitLab