build.rs don't need to inform cargo about the link libraries from inside the build, this is done in commit_to_cargo
@@ -301,9 +301,6 @@ pub fn build(build: &BuildConfiguration, config: &BinariesConfiguration) {
let current_dir = env::current_dir().unwrap();
- println!("cargo:rustc-link-search={}", &output_directory);
- cargo::add_link_lib("static=skia");
-
bindgen_gen(build, &current_dir, output_directory)
}
