diff --git a/crates/sel4-newlib/build.rs b/crates/sel4-newlib/build.rs index 945725f5c..aaee0d30c 100644 --- a/crates/sel4-newlib/build.rs +++ b/crates/sel4-newlib/build.rs @@ -30,5 +30,7 @@ fn detect_libc() { .parent() .unwrap(); + assert!(lib_path.has_root()); + println!("cargo:rustc-link-search=native={}", lib_path.display()); }