Skip to content

Commit

Permalink
cairo: fix build on freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Aug 28, 2023
1 parent ed92b30 commit cb0e159
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deps/cairo/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ fn cairo() {
"src/cairo-wideint.c",
"src/cairo.c",
"util/cairo-missing/getline.c",
"util/cairo-missing/strndup.c",
// Cairo has two conflicting ways to satisfy strndup.
// Let's remove this one from the build.
// "util/cairo-missing/strndup.c",
// "util/malloc-stats.c",
] {
cfg.file(&format!("cairo/{f}"));
Expand Down

0 comments on commit cb0e159

Please sign in to comment.