genie: mingw sdl build fails with end-group auto added by that LinkSupportCircularDependencies flag option (nw)

This commit is contained in:
hap 2020-06-21 16:28:33 +02:00
parent 9fb2ec21aa
commit 34a3ae1343

View File

@ -1269,15 +1269,18 @@ configuration { "osx* or xcode4" }
} }
configuration { "mingw*" } configuration { "mingw*" }
if _OPTIONS["osd"]~="sdl" if _OPTIONS["osd"]=="sdl" then
then linkoptions {
"-Wl,--start-group",
}
else
linkoptions { linkoptions {
"-static", "-static",
} }
flags {
"LinkSupportCircularDependencies",
}
end end
flags {
"LinkSupportCircularDependencies",
}
links { links {
"user32", "user32",
"winmm", "winmm",