Skip to content

Commit

Permalink
build: Link the system libcrypto to the SVSM binary
Browse files Browse the repository at this point in the history
Ideally we should be testing the libcrypto we built. This links the
system libcrypto as a temporary solution.

Signed-off-by: Claudio Carvalho <[email protected]>
  • Loading branch information
cclaudio committed Jun 26, 2023
1 parent 438a008 commit cd01773
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ fn main() {
bindings
.write_to_file(PathBuf::from(out_dir).join("bindings.rs"))
.expect("ERR: Couldn't write bindings!");

println!("cargo:rustc-link-lib=crypto");
}

0 comments on commit cd01773

Please sign in to comment.