Skip to content

Commit cd01773

Browse files
committed
build: Link the system libcrypto to the SVSM binary
Ideally we should be testing the libcrypto we built. This links the system libcrypto as a temporary solution. Signed-off-by: Claudio Carvalho <cclaudio@linux.ibm.com>
1 parent 438a008 commit cd01773

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ fn main() {
4040
bindings
4141
.write_to_file(PathBuf::from(out_dir).join("bindings.rs"))
4242
.expect("ERR: Couldn't write bindings!");
43+
44+
println!("cargo:rustc-link-lib=crypto");
4345
}

0 commit comments

Comments
 (0)