summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua4
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*" }