mingw build: removed libwinpthread-1 dependency.

This commit is contained in:
Martín Lucas Golini
2022-04-02 03:38:45 -03:00
parent 7f2ac37ba0
commit 0e8b85dc46
2 changed files with 2 additions and 2 deletions

View File

@@ -366,7 +366,7 @@ end
function add_cross_config_links()
if not is_vs() then
if os.is_real("mingw32") or os.is_real("mingw64") or os.is_real("windows") or os.is_real("ios") then -- if is crosscompiling from *nix
linkoptions { "-static-libgcc", "-static-libstdc++" }
linkoptions { "-static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic" }
end
if os.is_real("mingw32") or os.is_real("mingw64") then