mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
.
This commit is contained in:
1
.github/workflows/CI.yml
vendored
1
.github/workflows/CI.yml
vendored
@@ -95,4 +95,5 @@ jobs:
|
||||
export CMAKE_PREFIX_PATH=`pwd`/clib
|
||||
export "LIBRARY_PATH=$LIBRARY_PATH:`pwd`/clib/lib"
|
||||
export "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/clib/lib"
|
||||
export RUSTFLAGS='-C link-arg=-lswresample -C link-arg=-lx264'
|
||||
cargo test --features ugoira --verbose -- --show-output || exit 1
|
||||
|
||||
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