• Marco Trevisan's avatar
    meson, autotools: Hide non-exported symbols by default · 743f4da9
    Marco Trevisan authored
    Move jsapi generic symbols to a private static library and hide all the
    symbols by default, except the ones marked with GJS_EXPORT that is now
    setting the default visibility.
    Use then this static library to link dependent tools with (using the
    libgjs_dep definition in meson, instead of manually set the link_with).
    In order not to get C++ symbols exported we still need to use a map
    file to whitelist the gjs_ prefixed symbols.
    Fixes #194