ports/lang/rust/patches/patch-vendor_openssl_build_rs

16 lines
467 B
Text
Raw Normal View History

2024-03-24 02:17:26 +00:00
https://github.com/sfackler/rust-openssl/pull/2124
Index: vendor/openssl/build.rs
--- vendor/openssl/build.rs.orig
+++ vendor/openssl/build.rs
@@ -81,6 +81,9 @@ fn main() {
for var in vars.split(',') {
println!("cargo:rustc-cfg=osslconf=\"{}\"", var);
}
+ if version >= 0x3_09_00_00_0 {
+ println!("cargo:rustc-cfg=libressl390");
+ }
}
if let Ok(version) = env::var("DEP_OPENSSL_VERSION_NUMBER") {