From 2945b4a524af18b6a2e4eebbda0077d4135eba98 Mon Sep 17 00:00:00 2001 From: Georg Semmler Date: Fri, 6 Sep 2024 08:47:07 +0200 Subject: [PATCH] Minor cleanup --- Cargo.toml | 2 +- pq-src/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d1ef1b7..0c29352 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,6 @@ vcpkg = "0.2.6" [features] default = [] -bundled = ["pq-src/with-openssl"] +bundled = ["bundled_without_openssl", "pq-src/with-openssl"] bundled_without_openssl = ["dep:pq-src"] buildtime_bindgen = ["dep:bindgen"] diff --git a/pq-src/build.rs b/pq-src/build.rs index a526735..591b929 100644 --- a/pq-src/build.rs +++ b/pq-src/build.rs @@ -187,7 +187,7 @@ fn main() { }; if use_openssl { - includes.extend_from_slice(&[env::var("DEP_OPENSSL_INCLUDE").unwrap().clone()]); + includes.push(env::var("DEP_OPENSSL_INCLUDE").unwrap()); } basic_build