summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2017-12-26 11:10:56 +0000
committer smf- <smf-@users.noreply.github.com>2017-12-26 11:11:51 +0000
commitb0223ac413ccfb0907be9741168b4cf43fb67fb9 (patch)
tree37d0948cf1b015af48bd56ae5faea1af95d6685a /scripts
parent68b16a8808b6c9c0b7269a958bc40958eee7a4c2 (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.lua7
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 {