From a81c87cebb4d45e344b3ea14f66723accf30fd89 Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Sun, 13 Aug 2023 21:42:09 +0300 Subject: [PATCH] removing vendored openssl for openbsd --- librocksdb-sys/Cargo.toml | 2 +- librocksdb-sys/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/librocksdb-sys/Cargo.toml b/librocksdb-sys/Cargo.toml index 127556c..c5244ff 100644 --- a/librocksdb-sys/Cargo.toml +++ b/librocksdb-sys/Cargo.toml @@ -32,7 +32,7 @@ zstd-sys = { version = "2.0", features = ["zdict_builder"], optional = true } libz-sys = { version = "1.1", default-features = false, optional = true } bzip2-sys = { version = "0.1", default-features = false, optional = true } -[target."cfg(not(any(target_os = \"linux\",target_os = \"darwin\")))".dependencies.openssl] +[target."cfg(not(any(target_os = \"linux\",target_os = \"darwin\",target_os = \"openbsd\")))".dependencies.openssl] version = "0.10" features = ["vendored"] diff --git a/librocksdb-sys/src/lib.rs b/librocksdb-sys/src/lib.rs index 93a8e79..376e19e 100644 --- a/librocksdb-sys/src/lib.rs +++ b/librocksdb-sys/src/lib.rs @@ -24,7 +24,7 @@ extern crate bzip2_sys; extern crate libz_sys; #[cfg(feature = "lz4")] extern crate lz4_sys; -#[cfg(not(any(target_os = "linux")))] //, target_os = "macos" +#[cfg(not(any(target_os = "linux", target_os = "macos", target_os = "openbsd")))] extern crate openssl; #[cfg(feature = "zstd")] extern crate zstd_sys;