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*" }
if _OPTIONS["osd"]~="sdl"
then
if _OPTIONS["osd"]=="sdl" then
linkoptions {
"-Wl,--start-group",
}
else
linkoptions {
"-static",
}
flags {
"LinkSupportCircularDependencies",
}
end
flags {
"LinkSupportCircularDependencies",
}
links {
"user32",
"winmm",