diff options
| author | somov <[email protected]> | 2022-02-10 16:45:47 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:47 +0300 |
| commit | a5950576e397b1909261050b8c7da16db58f10b1 (patch) | |
| tree | 7ba7677f6a4c3e19e2cefab34d16df2c8963b4d4 /build/scripts/link_exe.py | |
| parent | 81eddc8c0b55990194e112b02d127b87d54164a9 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'build/scripts/link_exe.py')
| -rw-r--r-- | build/scripts/link_exe.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/scripts/link_exe.py b/build/scripts/link_exe.py index f469e3b442a..8919ec16425 100644 --- a/build/scripts/link_exe.py +++ b/build/scripts/link_exe.py @@ -47,8 +47,8 @@ def parse_args(): parser = optparse.OptionParser() parser.disable_interspersed_args() parser.add_option('--musl', action='store_true') - parser.add_option('--custom-step') - parser.add_option('--python') + parser.add_option('--custom-step') + parser.add_option('--python') parser.add_option('--source-root') parser.add_option('--arch') parser.add_option('--linker-output') @@ -63,9 +63,9 @@ if __name__ == '__main__': cmd = fix_cmd(opts.musl, args) cmd = ProcessWholeArchiveOption(opts.arch, opts.whole_archive_peers, opts.whole_archive_libs).construct_cmd(cmd) - if opts.custom_step: - assert opts.python - subprocess.check_call([opts.python] + [opts.custom_step] + args) + if opts.custom_step: + assert opts.python + subprocess.check_call([opts.python] + [opts.custom_step] + args) supp, cmd = get_leaks_suppressions(cmd) if supp: |
