forked from thoughtpolice/bcachefs-tools
-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathbuild.rs
More file actions
19 lines (17 loc) · 727 Bytes
/
build.rs
File metadata and controls
19 lines (17 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
fn main() {
println!("cargo:rustc-link-search=.");
println!("cargo:rerun-if-changed=libbcachefs.a");
println!("cargo:rustc-link-lib=static:+whole-archive=bcachefs");
println!("cargo:rustc-link-lib=urcu");
println!("cargo:rustc-link-lib=zstd");
println!("cargo:rustc-link-lib=blkid");
println!("cargo:rustc-link-lib=uuid");
println!("cargo:rustc-link-lib=sodium");
println!("cargo:rustc-link-lib=z");
println!("cargo:rustc-link-lib=lz4");
println!("cargo:rustc-link-lib=zstd");
println!("cargo:rustc-link-lib=udev");
println!("cargo:rustc-link-lib=keyutils");
println!("cargo:rustc-link-lib=aio");
// fuser crate talks to /dev/fuse directly — no libfuse3 needed
}