fix mingw-clang linking for latest version (nw)

This commit is contained in:
Miodrag Milanovic 2016-11-16 10:27:15 +01:00
parent 31ff573b08
commit 0d17e0ff72

View File

@ -1134,10 +1134,14 @@ configuration { "mingw*" }
"shell32",
"userenv",
}
configuration { "mingw-clang" }
local version = str_to_version(_OPTIONS["gcc_version"])
if string.find(_OPTIONS["gcc"], "clang") and ((version < 30900)) then
linkoptions {
"-pthread",
}
end
configuration { "vs*" }