diff options
author | Alexander Smirnov <alex@ydb.tech> | 2025-02-11 13:32:28 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2025-02-11 13:32:28 +0000 |
commit | 8b46b949606db9cad38219172be751a7eda99007 (patch) | |
tree | a04e19d829548c6e88436656cb52dbb36f82387a /build/scripts/link_lib.py | |
parent | 250f3cce02ed71a2fa4d5379a413beaebbd026e5 (diff) | |
parent | 37a4c7693b6132015fd3cad5130ac0ac50fc3b33 (diff) | |
download | ydb-8b46b949606db9cad38219172be751a7eda99007.tar.gz |
Merge pull request #14429 from ydb-platform/merge-libs-250211-1102
Diffstat (limited to 'build/scripts/link_lib.py')
-rw-r--r-- | build/scripts/link_lib.py | 7 |
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) |