diff options
author | 2015-04-04 18:25:04 +1100 | |
---|---|---|
committer | 2015-04-04 18:25:04 +1100 | |
commit | 73f53bb15e363712d097fe59c097de1a1fb9fed0 (patch) | |
tree | 70b159e73ec28ed30fc6635c0df79007318ac031 /scripts/genie.lua | |
parent | 3a15dfc2d89ca7d42748ced4582e69e6556c61cd (diff) |
* Take more link dependencies caused by OSD out of genie.lua
* Always dynamically link SDL on Windows
* Fix SDL1 build on Windows
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index fb8362791a8..9212b393be3 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -53,7 +53,7 @@ newoption { newoption { trigger = "osd", - description = "Choose target OSD", + description = "Choose OSD layer implementation", } newoption { @@ -781,26 +781,12 @@ configuration { "mingw*" } "-static-libgcc", "-static-libstdc++", } -if _OPTIONS["osd"]=="sdl" then - links { - "SDL2", - "imm32", - "version", - "ole32", - "oleaut32", - } -end links { "user32", - "gdi32", - "dsound", - "dxguid", "winmm", "advapi32", - "comctl32", "shlwapi", "wsock32", - "comdlg32", } configuration { "vs*" } @@ -813,15 +799,10 @@ configuration { "vs*" } } links { "user32", - "gdi32", - "dsound", - "dxguid", "winmm", "advapi32", - "comctl32", "shlwapi", "wsock32", - "comdlg32", } buildoptions { |