try avoiding duplicat defs

This commit is contained in:
dignifiedquire
2019-05-01 19:33:44 +02:00
parent 60bd7c0a19
commit 7ead7071fc
2 changed files with 2 additions and 4 deletions

View File

@@ -18,9 +18,7 @@ fn add_search_path(p: &str) {
fn build_tools() {
let mut config = cc::Build::new();
config.file("misc.h");
config.file("misc.c");
config.compile("libtools.a");
config.file("misc.c").compile("libtools.a");
println!("rerun-if-changed=build.rs");
println!("rerun-if-changed=misc.h");