• Lukáš Hrázký's avatar
    Export symbols in the binary to use by the plugins · 8dc4dd6a
    Lukáš Hrázký authored
    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ý <lhrazky@redhat.com>
    Acked-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
    8dc4dd6a
error.hpp 513 Bytes