Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flaribbit committed Oct 27, 2023
1 parent 0f17272 commit 6cf2e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patched-3rd/libheif-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn main() {

// 交叉编译专用
#[cfg(target_os = "linux")]
if cfg!(target_os = "android") {
if std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "android" {
println!("cargo:rustc-link-search=native=.github");
println!("cargo:rustc-link-lib=heif");
return;
Expand Down

0 comments on commit 6cf2e68

Please sign in to comment.