don't use -static on msys2 clang 4.0.0 as it's currently broken, also removed -static-libgcc & -static-libstdc++ on gcc builds as they have no effect if you use -static (nw)

This commit is contained in:
smf- 2017-05-25 11:01:53 +01:00
parent 9339777901
commit 104fe318ac

View File

@ -1132,10 +1132,14 @@ configuration { "osx* or xcode4" }
}
configuration { "mingw*" }
local version = str_to_version(_OPTIONS["gcc_version"])
if not (_OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang")) or version < 40000
then
linkoptions {
"-static",
}
end
linkoptions {
"-static-libgcc",
"-static-libstdc++",
"-static",
"-Wl,--start-group",
}
links {