Skip to content

Commit

Permalink
Added 'vendored-openssl' feature which enables source compilation of …
Browse files Browse the repository at this point in the history
…openssl dependency
  • Loading branch information
ancwrd1 committed Jan 8, 2025
1 parent b987c12 commit 5fe61ac
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 19 deletions.
46 changes: 28 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/build-lto.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/bash

export RUSTFLAGS="-C link-arg=-L/usr/lib64"
cargo zigbuild --target=x86_64-unknown-linux-gnu.2.17 --profile=lto --features reqwest/native-tls-vendored
cargo zigbuild --target=x86_64-unknown-linux-gnu.2.17 --profile=lto --features vendored-openssl
3 changes: 3 additions & 0 deletions snx-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ tracing-subscriber = "0.3"
clap = { version = "4.5.4", features = ["derive"] }
ipnet = { version = "2", features = ["serde"] }
openssl = "0.10"

[features]
vendored-openssl = ["openssl/vendored"]

0 comments on commit 5fe61ac

Please sign in to comment.