Fix UWP build issue (nw)

This commit is contained in:
Brad Hughes 2016-11-16 08:06:28 -05:00
parent 145822e21b
commit 31e0041051

View File

@ -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",
}