mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
gio-querymodules: Ensure we're linked to GObject
Since we're dynamically loading objects, after the g_type_init() change, we now need to ensure people building with --as-needed don't lose the DT_NEEDED on libgobject. https://bugzilla.gnome.org/show_bug.cgi?id=691077
This commit is contained in:
parent
f2a5b33270
commit
a1f40adf73
@ -136,6 +136,9 @@ main (gint argc,
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Be defensive and ensure we're linked to GObject */
|
||||
g_type_ensure (G_TYPE_OBJECT);
|
||||
|
||||
for (i = 1; i < argc; i++)
|
||||
query_dir (argv[i]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user