mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
GIOModule: Use unique names for load/unload symbols
GIO modules should include their name into their exported symbols to make them unique. This avoids symbol clash when building modules statically. extract_name() function is copied from GStreamer which recently switched to the same symbol naming scheme. https://bugzilla.gnome.org/show_bug.cgi?id=684282
This commit is contained in:
@@ -41,6 +41,9 @@ GType _g_io_module_get_default_type (const gchar *extension_point,
|
||||
void *_g_io_win32_get_module (void);
|
||||
#endif
|
||||
|
||||
gchar *_g_io_module_extract_name (const char *filename);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_IO_MODULE_PRIV_H__ */
|
||||
|
Reference in New Issue
Block a user