diff options
| author | 2017-12-26 11:10:56 +0000 | |
|---|---|---|
| committer | 2017-12-26 11:11:51 +0000 | |
| commit | b0223ac413ccfb0907be9741168b4cf43fb67fb9 (patch) | |
| tree | 37d0948cf1b015af48bd56ae5faea1af95d6685a /scripts | |
| parent | 68b16a8808b6c9c0b7269a958bc40958eee7a4c2 (diff) | |
Use dynamic linking for windows SDL builds to workround an error during linking about liblualibs.a being corrupt, which is dependant on the order of the .o files contained within it. [smf]
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/genie.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 97eff92bc7a..0c1a6abb179 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1133,8 +1133,13 @@ configuration { "osx* or xcode4" } } configuration { "mingw*" } + if _OPTIONS["osd"]~="sdl" + then + linkoptions { + "-static", + } + end linkoptions { - "-static", "-Wl,--start-group", } links { |
