Skip to content

Commit

Permalink
cmake_cfg.static_crt(true)
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jun 28, 2024
1 parent 0107064 commit fef6a89
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion aws-lc-sys/builder/cmake_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@ impl CmakeBuilder {
}

fn get_cmake_config(&self) -> cmake::Config {
cmake::Config::new(&self.manifest_dir)
let mut cmake_cfg = cmake::Config::new(&self.manifest_dir);
// See issue: https://github.com/aws/aws-lc-rs/issues/453
cmake_cfg.static_crt(true);
cmake_cfg
}

#[allow(clippy::too_many_lines)]
fn prepare_cmake_build(&self) -> cmake::Config {
let mut cmake_cfg = self.get_cmake_config();

Expand Down

0 comments on commit fef6a89

Please sign in to comment.