mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-23 00:07:07 +03:00
b5fd066153
We just wanted c sourcefiles out of the top level, not c source directories. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
22 lines
759 B
Rust
22 lines
759 B
Rust
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");
|
|
|
|
if std::env::var("BCACHEFS_FUSE").is_ok() {
|
|
println!("cargo:rustc-link-lib=fuse3");
|
|
}
|
|
}
|