diff options
author | 2016-11-16 08:06:28 -0500 | |
---|---|---|
committer | 2016-11-16 08:06:28 -0500 | |
commit | 31e0041051aaf5e14d2ec1be99bf26f4bdae743a (patch) | |
tree | 15cf13a41aa99e1d94cebc4d8b27011c606884b1 /scripts/genie.lua | |
parent | 145822e21bae05e6772cd5f3864b57cd3bca9b81 (diff) |
Fix UWP build issue (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 0272ddedcb4..c0424b34f99 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1137,7 +1137,7 @@ configuration { "mingw*" } configuration { "mingw-clang" } local version = str_to_version(_OPTIONS["gcc_version"]) - if string.find(_OPTIONS["gcc"], "clang") and ((version < 30900)) then + if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") and ((version < 30900)) then linkoptions { "-pthread", } |