From d04933b4c0be355f2d616ef61ee7de507d84602b Mon Sep 17 00:00:00 2001 From: Pursche Date: Fri, 25 Oct 2024 00:24:35 +0200 Subject: [PATCH] Attempt linux build fix --- Dependencies/freetype/freetype.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dependencies/freetype/freetype.lua b/Dependencies/freetype/freetype.lua index 3c287ce..93b06b7 100644 --- a/Dependencies/freetype/freetype.lua +++ b/Dependencies/freetype/freetype.lua @@ -60,12 +60,16 @@ Solution.Util.CreateStaticLib(dep.Name, Solution.Projects.Current.BinDir, dep.De if os.target() == "windows" then local platformFiles = { - platformDir .. "/windows/ftdebug.c", -- TODO: Windows only + platformDir .. "/windows/ftdebug.c", } Solution.Util.MergeIntoTable(files, platformFiles) Solution.Util.MergeIntoTable(defines, { "WIN32", "WIN32_LEAN_AND_MEAN", "VC_EXTRALEAN" } ) else - -- TODO Linux + local platformFiles = + { + sourceDir .. "/base/ftdebug.c", + } + Solution.Util.MergeIntoTable(files, platformFiles) end warnings "Off"