diff options
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 19c892d6c65..0255815e367 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -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", |