summaryrefslogtreecommitdiffstats
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua13
1 files changed, 8 insertions, 5 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 1c3dd63aec9..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
- linkoptions {
- "-Wl,--start-group",
- }
links {
"user32",
"winmm",