mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
Merge pull request #484 from marler8997/fixWindowsFontconfigCrash
windows: fix fontconfig into libxml runtime crash from implicit func decl
This commit is contained in:
@ -160,7 +160,15 @@ pub fn buildFontconfig(
|
|||||||
if (opt.libxml2) {
|
if (opt.libxml2) {
|
||||||
try flags.appendSlice(&.{
|
try flags.appendSlice(&.{
|
||||||
"-DENABLE_LIBXML2",
|
"-DENABLE_LIBXML2",
|
||||||
|
"-DLIBXML_STATIC",
|
||||||
|
"-DLIBXML_PUSH_ENABLED",
|
||||||
});
|
});
|
||||||
|
if (target.isWindows()) {
|
||||||
|
// NOTE: this should be defined on all targets
|
||||||
|
try flags.appendSlice(&.{
|
||||||
|
"-Werror=implicit-function-declaration",
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (target.isWindows()) {
|
if (target.isWindows()) {
|
||||||
|
Reference in New Issue
Block a user