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