1
1
mirror of https://github.com/wez/wezterm.git synced 2024-10-26 15:52:29 +03:00

cairo: fix build on freebsd

This commit is contained in:
Wez Furlong 2023-08-28 06:51:45 -07:00
parent ed92b30370
commit cb0e1599ac
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

4
deps/cairo/build.rs vendored
View File

@ -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}"));