ports/lang/rust/patches/patch-vendor_openssl_build_rs

16 lines
491 B
Text
Raw Normal View History

2024-03-24 02:17:26 +00:00
https://github.com/sfackler/rust-openssl/pull/2124
2024-09-19 05:52:57 +00:00
Index: vendor/openssl-0.10.57/build.rs
--- vendor/openssl-0.10.57/build.rs.orig
+++ vendor/openssl-0.10.57/build.rs
@@ -73,6 +73,9 @@ fn main() {
2024-03-24 02:17:26 +00:00
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") {