Skip to content
  • Simon McVittie's avatar
    a34c5c8b
    libsrt: Explicitly control symbol visibility · a34c5c8b
    Simon McVittie authored
    
    
    Instead of having symbols visible by default (which included
    compatibility symbols for older versions of GLib), hide them by default
    (equivalent to G_GNUC_INTERNAL) and export only what we need.
    
    This means we export the public API, plus symbols that are used by the
    unit tests or by the command-line diagnostic tools. Symbols used only
    by pressure-vessel do not need to be exported, since it links libsrt
    statically.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    a34c5c8b
    libsrt: Explicitly control symbol visibility
    Simon McVittie authored
    
    
    Instead of having symbols visible by default (which included
    compatibility symbols for older versions of GLib), hide them by default
    (equivalent to G_GNUC_INTERNAL) and export only what we need.
    
    This means we export the public API, plus symbols that are used by the
    unit tests or by the command-line diagnostic tools. Symbols used only
    by pressure-vessel do not need to be exported, since it links libsrt
    statically.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
Loading