From 69ec3d290b8a1aa2c4403c8ac91497c5841ded35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Sun, 22 Jan 2023 23:31:53 -0300 Subject: [PATCH] ecode: Link against stdc++fs on Linux. --- premake4.lua | 4 ++-- premake5.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/premake4.lua b/premake4.lua index 1dcd715c1..0865f72ca 100644 --- a/premake4.lua +++ b/premake4.lua @@ -1310,9 +1310,9 @@ solution "eepp" end if os.is_real("linux") then if _OPTIONS["with-debug-symbols"] then - links { "util", "bfd", "dw", "dl" } + links { "util", "bfd", "dw", "dl", "stdc++fs" } else - links { "util" } + links { "util", "stdc++fs" } end end if (os.is_real("windows") or os.is_real("mingw32") or os.is_real("mingw64")) and _OPTIONS["with-debug-symbols"] then diff --git a/premake5.lua b/premake5.lua index a0b7a987e..eec28fdd4 100644 --- a/premake5.lua +++ b/premake5.lua @@ -1036,7 +1036,7 @@ workspace "eepp" filter { "system:not windows", "system:not haiku" } links { "pthread" } filter "system:linux" - links { "util" } + links { "util", "stdc++fs" } filter { "system:windows", "options:with-debug-symbols" } links { "dbghelp", "psapi" } filter { "system:windows", "options:with-debug-symbols", "options:cc=mingw" }