ecode: Link against stdc++fs on Linux.

This commit is contained in:
Martín Lucas Golini
2023-01-22 23:31:53 -03:00
parent e44e20d81b
commit 69ec3d290b
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

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