/* Version script to hide statically linked library symbols.
 *
 * Prevents symbol collisions between our statically linked
 * ICU/HarfBuzz/FreeType/Fontconfig (from vcpkg, used by Tectonic)
 * and the dynamically linked versions used by WebKit2GTK at runtime.
 *
 * Without this, the ELF dynamic linker resolves WebKit2GTK's ICU
 * calls to our static symbols (different version), causing a segfault
 * at startup.  Fixes #100; preserves #91 fix (static ICU = no
 * libicuuc.so.70 not-found error on newer distros).
 */
{
  local:
    /* ICU4C */
    u_*;
    ucnv_*;
    ucol_*;
    ures_*;
    udata_*;
    ucal_*;
    udat_*;
    unum_*;
    uset_*;
    ustr_*;
    ubidi_*;
    ubrk_*;
    uidna_*;
    uloc_*;
    unorm_*;
    unorm2_*;
    utrans_*;
    icu_*;
    UCNV_*;

    /* HarfBuzz */
    hb_*;

    /* FreeType */
    FT_*;
    ft_*;

    /* Fontconfig */
    Fc*;

    /* Graphite2 */
    gr_*;

    /* libpng (often pulled in by FreeType) */
    png_*;
};
