From b0223ac413ccfb0907be9741168b4cf43fb67fb9 Mon Sep 17 00:00:00 2001 From: smf- Date: Tue, 26 Dec 2017 11:10:56 +0000 Subject: 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] --- scripts/genie.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts') 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 { -- cgit v1.2.3