Hide all symbols by default

As mentioned by @abique. Could prevent issues caused by symbol clashes,
and it also greatly reduces the size of all binaries.
This commit is contained in:
Robbert van der Helm
2020-11-27 20:40:59 +01:00
parent c8b4b04b19
commit cbf276b7dc
4 changed files with 13 additions and 5 deletions
+7 -3
View File
@@ -26,9 +26,13 @@ individual_host_name_32bit = 'yabridge-host-32'
group_host_name_64bit = 'yabridge-group'
group_host_name_32bit = 'yabridge-group-32'
# Disable the use of concepts in Boost.Asio until Boost 1.73 gets released
# https://github.com/boostorg/asio/issues/312
compiler_options = ['-DBOOST_ASIO_DISABLE_CONCEPTS']
compiler_options = [
'-fvisibility=hidden',
'-fvisibility-inlines-hidden',
# Disable the use of concepts in Boost.Asio until Boost 1.73 gets released
# https://github.com/boostorg/asio/issues/312
'-DBOOST_ASIO_DISABLE_CONCEPTS'
]
with_bitbridge = get_option('with-bitbridge')
with_static_boost = get_option('with-static-boost')