Fix #1059: Linking for mingw/x86_64 on MSYS2 fails, w/ ar execution speed up
Command line length=8153 is OK, while 8159 is broken.
parent
189f56c34e
commit
fb06503307
|
@ -30,7 +30,7 @@ def configure(env):
|
|||
length = lead + 1 + len(args[begin])
|
||||
for i in range(4, len(args)):
|
||||
length += 1 + len(args[i])
|
||||
if length >= 8 * 1024 - 32:
|
||||
if length > 8153:
|
||||
cmdline = " ".join(args[0:3] + args[begin:i])
|
||||
# print("objs=", i - begin, ", length=", len(cmdline))
|
||||
rv = mySubProcess(cmdline, env)
|
||||
|
|
Loading…
Reference in New Issue