aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/link_lib.py
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2025-02-11 08:13:02 +0300
committermikhnenko <mikhnenko@yandex-team.com>2025-02-11 08:31:56 +0300
commitedf9ec11579f631350f12b14fd78ad77d966c2bc (patch)
tree81e639c779017a70ffca8d5578c3d20db2069ec7 /build/scripts/link_lib.py
parent098dbd39a7651dcc945ab33e751fdf93cc87c914 (diff)
downloadydb-edf9ec11579f631350f12b14fd78ad77d966c2bc.tar.gz
Disable symbols redefining for MAPSMOBI_BUILD_TARGET
commit_hash:9424e37bc99e6d61ff8496bf319539c6f1786669
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)