diff options
author | serg-belyakov <serg-belyakov@yandex-team.com> | 2022-07-08 17:02:48 +0300 |
---|---|---|
committer | serg-belyakov <serg-belyakov@yandex-team.com> | 2022-07-08 17:02:48 +0300 |
commit | e5eab3309e308a5713727c7f9c506b51b6d32af7 (patch) | |
tree | ec1a4a74e457682dbc96582556a1e956635397c7 /build/scripts/export_script_gen.py | |
parent | df4076b5d5f03459384ffadd5e48f63797ddc87f (diff) | |
download | ydb-e5eab3309e308a5713727c7f9c506b51b6d32af7.tar.gz |
Add logging after applying new GroupInfo,
Diffstat (limited to 'build/scripts/export_script_gen.py')
-rw-r--r-- | build/scripts/export_script_gen.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build/scripts/export_script_gen.py b/build/scripts/export_script_gen.py index 269af2e3ca..64b732eff5 100644 --- a/build/scripts/export_script_gen.py +++ b/build/scripts/export_script_gen.py @@ -85,17 +85,20 @@ def to_msvc(src, dest): def to_darwin(src, dest): + pre = '' for item in parse_export_file(src): if item.get('linux_version'): continue if item['lang'] == 'C': - dest.write('-Wl,-exported_symbol,_' + item['sym']) + dest.write(pre + '-Wl,-exported_symbol,_' + item['sym']) elif item['lang'] == 'C++': for sym in to_c(item['sym']): - dest.write('-Wl,-exported_symbol,_' + sym) + dest.write(pre + '-Wl,-exported_symbol,_' + sym) else: raise Exception('unsupported lang: ' + item['lang']) + if pre == '': + pre = ' ' def main(): |