mongo-rust-driver icon indicating copy to clipboard operation
mongo-rust-driver copied to clipboard

gentoo linux

Open univerz opened this issue 3 years ago • 0 comments

to build on gentoo linux i had to make these changes (just hacks without deeper understanding) to mongoc-sys/build.rs

83c83
<     println!("cargo:rustc-link-search=native={}/usr/local/lib", &out_dir.to_string_lossy());
---
>     println!("cargo:rustc-link-search=native={}/usr/local/lib64", &out_dir.to_string_lossy());
86a87,88
>     println!("cargo:rustc-link-lib=zstd");
>     println!("cargo:rustc-link-lib=snappy");

univerz avatar Jun 09 '21 10:06 univerz