diff options
author | 2016-11-16 10:27:15 +0100 | |
---|---|---|
committer | 2016-11-16 10:27:15 +0100 | |
commit | 0d17e0ff72d55673186df40fa757383a7d3042fb (patch) | |
tree | f6fc3fecfff6a13b017ebca44833a13512b1b511 /scripts/genie.lua | |
parent | 31ff573b08aa9b83911a4e16c82a61a2d2155236 (diff) |
fix mingw-clang linking for latest version (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 12bef987a0d..95c48931b70 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -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*" } |