Skip to content

Commit

Permalink
Use dynamic linking for windows SDL builds to workround an error duri…
Browse files Browse the repository at this point in the history
…ng linking about liblualibs.a being corrupt, which is dependant on the order of the .o files contained within it. [smf]
  • Loading branch information
smf- committed Dec 26, 2017
1 parent 68b16a8 commit b0223ac
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/genie.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1133,8 +1133,13 @@ configuration { "osx* or xcode4" }
}

configuration { "mingw*" }
if _OPTIONS["osd"]~="sdl"
then
linkoptions {
"-static",
}
end
linkoptions {
"-static",
"-Wl,--start-group",
}
links {
Expand Down

0 comments on commit b0223ac

Please sign in to comment.