Thu, 02 Nov 2023 21:24:43 -0500
Mark all Pidgin symbol visibility as hidden
This will match behaviour on Windows, so it will prevent not tagging the symbols with the correct export macro.
This closes [PIDGIN-17839](https://issues.imfreedom.org/issue/PIDGIN-17838), as successfully compiling with this flag means all symbols have been correctly marked.
Testing Done:
Compiled on Linux and Windows.
Bugs closed: PIDGIN-17839
Reviewed at https://reviews.imfreedom.org/r/2769/
xmppdisco_SOURCES = [ 'gtkdisco.c', 'xmppdisco.c', 'xmppdiscoservice.c', ] xmppdisco_HEADERS = [ 'gtkdisco.h', 'xmppdisco.h', 'xmppdiscoservice.h', ] xmppdisco_enums = gnome.mkenums_simple('xmppdiscoenums', sources: xmppdisco_HEADERS, identifier_prefix: 'XmppDisco', symbol_prefix: 'xmpp_disco') xmppdisco_SOURCES += xmppdisco_enums xmppdisco_resource = gnome.compile_resources('xmppdiscoresources', 'resources/xmppdisco.gresource.xml', source_dir : 'resources', c_name : 'xmppdisco') xmppdisco_SOURCES += xmppdisco_resource library('xmppdisco', xmppdisco_SOURCES, xmppdisco_HEADERS, c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-XMPPDisco"'], gnu_symbol_visibility : 'hidden', dependencies : [libpurple_dep, libpidgin_dep, glib], name_prefix : '', install : true, install_dir : PIDGIN_PLUGINDIR) devenv.append('PIDGIN_PLUGIN_PATH', meson.current_build_dir())