Try to fix link error

This commit is contained in:
2022-03-19 18:38:35 +08:00
parent 1f4b8e79a3
commit b6f9aee858

View File

@@ -68,7 +68,7 @@ fn main() {
let mut f = File::open(dep_path).unwrap();
let mut s = String::from("");
f.read_to_string(&mut s).unwrap();
println!("cargo:rustc-link-lib=static=avdict");
println!("cargo:rustc-link-lib=avdict");
let l: Vec<&str> = s.split(";").collect();
for i in l.iter() {
let mut p = PathBuf::from(i);
@@ -116,7 +116,7 @@ fn main() {
let mut f = File::open(dep_path).unwrap();
let mut s = String::from("");
f.read_to_string(&mut s).unwrap();
println!("cargo:rustc-link-lib=static=exif");
println!("cargo:rustc-link-lib=exif");
let l: Vec<&str> = s.split(";").collect();
for i in l.iter() {
let mut p = PathBuf::from(i);
@@ -164,7 +164,7 @@ fn main() {
let mut f = File::open(dep_path).unwrap();
let mut s = String::from("");
f.read_to_string(&mut s).unwrap();
println!("cargo:rustc-link-lib=static=ugoira");
println!("cargo:rustc-link-lib=ugoira");
let l: Vec<&str> = s.split(";").collect();
for i in l.iter() {
let mut p = PathBuf::from(i);