Merge branch 'fix_two_linker_error' of https://github.com/Luflosi/kitty

This commit is contained in:
Kovid Goyal 2019-10-28 07:31:49 +05:30
commit 30cd9b2ae4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -379,8 +379,9 @@ def parallel_run(items):
return
pid, s = os.wait()
compile_cmd, w = workers.pop(pid, (None, None))
if compile_cmd is not None and ((s & 0xff) != 0 or ((s >> 8) & 0xff) != 0) and failed is None:
failed = compile_cmd
if compile_cmd is not None and ((s & 0xff) != 0 or ((s >> 8) & 0xff) != 0):
if failed is None:
failed = compile_cmd
elif compile_cmd.on_success is not None:
compile_cmd.on_success()