mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Fix CI: Only turn on feature pkg-config on linux and fix cross compilation (#815)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
61c992612c
commit
9923788f07
2 changed files with 3 additions and 2 deletions
2
justfile
2
justfile
|
@ -63,7 +63,7 @@ cargo-no-default-features := if default-features == "false" { " --no-default-fea
|
|||
} else { "" }
|
||||
|
||||
support-pkg-config := if target == target-host {
|
||||
if target-os != "windows" { "true" } else { "" }
|
||||
if target-os == "linux" { "true" } else { "" }
|
||||
} else { "" }
|
||||
|
||||
cargo-features := trim_end_match(if override-features != "" { override-features
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue