Skip to content
Commit 3a0531d8 authored by Colin Walters's avatar Colin Walters
Browse files

queryloaders: Ensure we link to libgobject

This call is necessary to ensure we actually link against libgobject;
otherwise it may be stripped if -Wl,--as-needed is in use.

The reason we need to link against libgobject is because it now has
a global constructor.  If the dynamically loaded modules happen
to dlclose() libgobject, then reopen it again, we're in for trouble.

See https://bugzilla.gnome.org/show_bug.cgi?id=686822



Patch-suggested-by: default avatarRyan Lortie <desrt@desrt.ca>
Signed-off-by: default avatarColin Walters <walters@verbum.org>

https://bugzilla.gnome.org/show_bug.cgi?id=686822
parent 19adb79f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment