Skip to content

Commit

Permalink
Set the right CMake flag
Browse files Browse the repository at this point in the history
  • Loading branch information
thomwiggers committed Feb 12, 2021
1 parent 61f07cc commit ef05887
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oqs-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ fn main() {
let mut config = cmake::Config::new("liboqs");
config.profile("Release");
config.define("OQS_BUILD_ONLY_LIB", "Yes");
config.define("BUILD_SHARED_LIBS", "Yes");
if cfg!(feature = "openssl") {
config.define("OQS_USE_OPENSSL", "Yes");
println!("cargo:rustc-link-lib=crypto");
Expand Down

0 comments on commit ef05887

Please sign in to comment.