summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-11-16 13:58:52 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-11-16 13:58:52 +0100
commit145822e21bae05e6772cd5f3864b57cd3bca9b81 (patch)
tree114aa1319d524f956d09f54bb3d0a81024259b82 /scripts/genie.lua
parent234620bc1b2e134ac47e049598fb0489fc1b37b0 (diff)
fix build (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index a5784129a90..0272ddedcb4 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -1154,7 +1154,7 @@ configuration { "vs*" }
"_CRT_STDIO_LEGACY_WIDE_SPECIFIERS",
}
-- Windows Store/Phone projects already link against the available libraries.
-if not (string.startswith(_OPTIONS["vs"], "winstore8") or string.startswith(_OPTIONS["vs"], "winphone8")) then
+if _OPTIONS["vs"]==nil or not (string.startswith(_OPTIONS["vs"], "winstore8") or string.startswith(_OPTIONS["vs"], "winphone8")) then
links {
"user32",
"winmm",