better build.rs

This commit is contained in:
2024-11-19 17:47:40 +01:00
parent 2190ae80f2
commit a593829a81
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
fn main() {
println!("cargo:rustc-link-search=native=lib");
println!("cargo:rustc-link-lib=static=app");
cc::Build::new()
.file("src/app.c").compile("app");
}