diff --git a/build/BuildLinuxTask.cs b/build/BuildLinuxTask.cs index f7416d2..73c69fd 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.ReplaceRegexInFiles("freetype/meson.build", @" cc.find_library\('([^']+)',", "cc.find_library('$1', static: true,"); context.ReplaceTextInFiles("freetype/meson.build", "meson.override_dependency('freetype2', freetype_dep)", ""); // Build