summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-01-16 17:00:02 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-16 17:17:23 -0500
commitb5fd066153c40a70a29caa1ea7987723ab687763 (patch)
tree6d43a8b0a90d549a54c65565ac96c92b3e84b594 /build.rs
parent06ff8b55b70fda44d91b31b5511fafd1680a8934 (diff)
Move c_src dirs back to toplevel
We just wanted c sourcefiles out of the top level, not c source directories. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.rs b/build.rs
index 3364c6ab..25f4f5be 100644
--- a/build.rs
+++ b/build.rs
@@ -1,6 +1,6 @@
fn main() {
- println!("cargo:rustc-link-search=c_src");
- println!("cargo:rerun-if-changed=c_src/libbcachefs.a");
+ 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");