mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-06 05:49:01 +08:00
.
This commit is contained in:
5
build.rs
5
build.rs
@@ -35,7 +35,6 @@ 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=utils");
|
||||
let l: Vec<&str> = s.split(";").collect();
|
||||
for i in l.iter() {
|
||||
let mut p = PathBuf::from(i);
|
||||
@@ -194,4 +193,8 @@ fn main() {
|
||||
.write_to_file(out_path.join("ugoira.rs"))
|
||||
.expect("Couldn't write bindings!");
|
||||
}
|
||||
#[cfg(any(feature = "exif", feature = "ugoira"))]
|
||||
{
|
||||
println!("cargo:rustc-link-lib=utils");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user