Commit 8dc4dd6a authored by Lukáš Hrázký's avatar Lukáš Hrázký Committed by Frediano Ziglio

Export symbols in the binary to use by the plugins

This commits adds the -export-dynamic linker flag to export dynamic
symbols to be used by the streaming agent's plugins. It also adds the
-fvisibility=hidden compiler flag to hide all symbols by default (along
with -fvisibility-inline-hidden for C++ inline functions).

Then it adds the visibility("default") attribute to the namespace
containing the Error class, as that one needs to be exported and have
its typeinfo defined for exception catching to work.
Signed-off-by: Lukáš Hrázký's avatarLukáš Hrázký <>
Acked-by: Frediano Ziglio's avatarFrediano Ziglio <>
parent a36fdfef
Pipeline #11141 passed with stage
in 2 minutes and 58 seconds