diff options
author | Dmitry Baksheev <dbakshee@yandex.ru> | 2022-02-10 16:48:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:12 +0300 |
commit | 17fe552c0aa936de030b2b72934d9688ab9bb1c6 (patch) | |
tree | 9ee66fb456a7ca163946c7aace3a31e69ca47e7f /build/scripts/link_dyn_lib.py | |
parent | 2909866fbc652492b7d7cab3023cb19489dc4fd8 (diff) | |
download | ydb-17fe552c0aa936de030b2b72934d9688ab9bb1c6.tar.gz |
Restoring authorship annotation for Dmitry Baksheev <dbakshee@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'build/scripts/link_dyn_lib.py')
-rw-r--r-- | build/scripts/link_dyn_lib.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/scripts/link_dyn_lib.py b/build/scripts/link_dyn_lib.py index 23487f5c1e..f0510e0756 100644 --- a/build/scripts/link_dyn_lib.py +++ b/build/scripts/link_dyn_lib.py @@ -88,7 +88,7 @@ def fix_gnu_param(arch, ex): else: d[item['lang']].append(item['sym']) - with tempfile.NamedTemporaryFile(mode='wt', delete=False) as f: + with tempfile.NamedTemporaryFile(mode='wt', delete=False) as f: if version: f.write('{} {{\nglobal:\n'.format(version)) else: @@ -205,8 +205,8 @@ if __name__ == '__main__': sys.exit(proc.returncode) if opts.soname and opts.soname != opts.target: - if os.path.exists(opts.soname): - os.unlink(opts.soname) + if os.path.exists(opts.soname): + os.unlink(opts.soname) os.link(opts.target, opts.soname) |