From 3d13f4028b12f0b7f67c91f598ac2ad4361473eb Mon Sep 17 00:00:00 2001 From: "harry.cpp" Date: Wed, 8 Nov 2023 12:03:40 +0100 Subject: [PATCH] Linux buildfix no. 1 --- build/BuildLinuxTask.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/build/BuildLinuxTask.cs b/build/BuildLinuxTask.cs index ac2d802..f7416d2 100644 --- a/build/BuildLinuxTask.cs +++ b/build/BuildLinuxTask.cs @@ -12,6 +12,7 @@ public override void Run(BuildContext context) { // Make sure it statically links the dpeendencies context.ReplaceRegexInFiles("freetype/meson.build", @" dependency\('([^']+)',", "dependency('$1', static: true,"); + context.ReplaceTextInFiles("freetype/meson.build", "meson.override_dependency('freetype2', freetype_dep)", ""); // Build context.StartProcess("meson", new ProcessSettings { WorkingDirectory = "freetype", Arguments = "setup -Ddefault_library=shared --force-fallback-for=libpng,harfbuzz,zlib builddir" });