Skip to content

Commit e77d94a

Browse files
simonwuelkerbehdad
authored andcommitted
Probe system library when building without bundled harfbuzz
Signed-off-by: Simon Wülker <[email protected]>
1 parent 66dae27 commit e77d94a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ fn main() {
4040
}
4141

4242
#[cfg(not(feature = "build-native-harfbuzz"))]
43-
fn main() {}
43+
fn main() {
44+
pkg_config::probe_library("harfbuzz").unwrap();
45+
}

0 commit comments

Comments
 (0)