projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a5b33
)
gio-querymodules: Ensure we're linked to GObject
author
Colin Walters
<walters@verbum.org>
Thu, 10 Jan 2013 21:25:15 +0000
(16:25 -0500)
committer
Colin Walters
<walters@verbum.org>
Fri, 11 Jan 2013 03:24:00 +0000
(22:24 -0500)
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
gio/gio-querymodules.c
patch
|
blob
|
history
diff --git
a/gio/gio-querymodules.c
b/gio/gio-querymodules.c
index
f445831
..
ee60fef
100644
(file)
--- a/
gio/gio-querymodules.c
+++ b/
gio/gio-querymodules.c
@@
-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]);