diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
commit | 7489e4682331202b9c7d863c0898eb83d7b12c2b (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /build/scripts/link_exe.py | |
parent | a5950576e397b1909261050b8c7da16db58f10b1 (diff) | |
download | ydb-7489e4682331202b9c7d863c0898eb83d7b12c2b.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 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 8919ec16425..f469e3b442a 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: |