We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1c0942 commit 1d7bdc0Copy full SHA for 1d7bdc0
harfbuzz-sys/build.rs
@@ -11,10 +11,10 @@ fn main() {
11
let target = env::var("TARGET").unwrap();
12
13
println!("cargo:rerun-if-env-changed=HARFBUZZ_SYS_NO_PKG_CONFIG");
14
- if target.contains("wasm32") || env::var_os("HARFBUZZ_SYS_NO_PKG_CONFIG").is_none() {
15
- if pkg_config::probe_library("harfbuzz").is_ok() {
16
- return;
17
- }
+ if (target.contains("wasm32") || env::var_os("HARFBUZZ_SYS_NO_PKG_CONFIG").is_none())
+ && pkg_config::probe_library("harfbuzz").is_ok()
+ {
+ return;
18
}
19
20
let mut cfg = cc::Build::new();
0 commit comments