We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61d47dd commit 692e907Copy full SHA for 692e907
bb/build.rs
@@ -1,8 +1,4 @@
1
-use std::{
2
- env, fs,
3
- path::{Path, PathBuf},
4
- process::Command,
5
-};
+use std::{env, fs, path::Path, process::Command};
6
7
const BB_DOWNLOAD_SCRIPT: &str = include_str!("./download_bb.sh");
8
const TARGET_LIST: [&str; 8] = [
@@ -69,6 +65,10 @@ fn main() {
69
65
// Link the `libdeflate` static library.
70
66
println!("cargo:rustc-link-lib=static=deflate");
71
67
68
+ if target.contains("ios") {
+ println!("cargo:rustc-link-lib=static=lmdb");
+ }
+
72
// Link the C++ standard library.
73
if cfg!(target_os = "macos") || cfg!(target_os = "ios") {
74
println!("cargo:rustc-link-lib=c++");
0 commit comments