Skip to content

Commit

Permalink
speedup build
Browse files Browse the repository at this point in the history
  • Loading branch information
BusyJay committed May 30, 2019
1 parent 7651909 commit cccc902
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ impl Build {

pub fn build(&self) -> Artifacts {
let src_dir = Path::new(env!("CARGO_MANIFEST_DIR")).join("libressl");
let dst = cmake::build(format!("{}", src_dir.display()));
let dst = cmake::Config::new(src_dir)
.define("LIBRESSL_APPS", "OFF")
.define("LIBRESSL_TESTS", "OFF")
.build();
Artifacts {
include_dir: dst.join("include"),
lib_dir: dst.join("lib"),
Expand Down

0 comments on commit cccc902

Please sign in to comment.