aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/link_dyn_lib.py
diff options
context:
space:
mode:
authorDmitry Baksheev <dbakshee@yandex.ru>2022-02-10 16:48:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:12 +0300
commit0e38f1d675a0b3d02016acf698e8d04c0b224047 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /build/scripts/link_dyn_lib.py
parent17fe552c0aa936de030b2b72934d9688ab9bb1c6 (diff)
downloadydb-0e38f1d675a0b3d02016acf698e8d04c0b224047.tar.gz
Restoring authorship annotation for Dmitry Baksheev <dbakshee@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'build/scripts/link_dyn_lib.py')
-rw-r--r--build/scripts/link_dyn_lib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/scripts/link_dyn_lib.py b/build/scripts/link_dyn_lib.py
index f0510e0756..23487f5c1e 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)