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", "shell32",
"userenv", "userenv",
} }
configuration { "mingw-clang" } configuration { "mingw-clang" }
local version = str_to_version(_OPTIONS["gcc_version"])
if string.find(_OPTIONS["gcc"], "clang") and ((version < 30900)) then
linkoptions { linkoptions {
"-pthread", "-pthread",
} }
end
configuration { "vs*" } configuration { "vs*" }