aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/link_lib.py
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-02-11 11:04:00 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-02-11 11:04:00 +0000
commitbc87977191a2c88fe00dd86be6b94da72559ebbe (patch)
treedd0b714eda032ba015390e9da217fbac78bd87ef /build/scripts/link_lib.py
parent4b90b10cf60b38930d8f17881961b780d00dc73b (diff)
parentf895bba65827952ed934b2b46f9a45e30a191fd2 (diff)
downloadydb-bc87977191a2c88fe00dd86be6b94da72559ebbe.tar.gz
Merge branch 'rightlib' into merge-libs-250211-1102
Diffstat (limited to 'build/scripts/link_lib.py')
-rw-r--r--build/scripts/link_lib.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/build/scripts/link_lib.py b/build/scripts/link_lib.py
index 0a6e798891..388f82f870 100644
--- a/build/scripts/link_lib.py
+++ b/build/scripts/link_lib.py
@@ -12,8 +12,9 @@ class Opts(object):
self.llvm_ar_format = args[2]
self.build_root = args[3]
self.plugin = args[4]
- self.output = args[5]
- auto_input = args[6:]
+ self.enable_openssl3 = args[5]
+ self.output = args[6]
+ auto_input = args[7:]
self.need_modify = False
self.extra_args = []
@@ -162,5 +163,5 @@ if __name__ == "__main__":
if exit_code != 0:
raise Exception('{0} returned non-zero exit code {1}. Stop.'.format(' '.join(cmd), exit_code))
- if os.path.basename(opts.output) in ['libcontrib-libs-openssl.a', 'liblibs-openssl-crypto.a']:
+ if opts.enable_openssl3 != 'no-openssl3' and os.path.basename(opts.output) in ['libcontrib-libs-openssl.a', 'liblibs-openssl-crypto.a']:
rename_syms(os.path.dirname(opts.archiver) + '/', opts.output)