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