Skip to content

Commit

Permalink
Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Jul 18, 2023
1 parent 95fc196 commit 30b6cec
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ fn main() {
.flag("-std=c++11")
.warnings(false)
.include("harfbuzz/src")
.files(
std::fs::read_dir("harfbuzz/src")
.expect("Could not find harfbuzz source files.")
.map(|direntry| direntry.unwrap().path())
.filter(|name| name.ends_with(".cc")),
);
.file("harfbuzz/src/harfbuzz.cc");

if !target.contains("windows") {
cfg.define("HAVE_PTHREAD", "1");
Expand Down

0 comments on commit 30b6cec

Please sign in to comment.