qga-vss: Use dynamic linking for GLib
commit9f34101db00eabd8f424e98b481c2394e6509198
authorKostiantyn Kostiuk <konstantin@daynix.com>
Mon, 1 Mar 2021 12:16:07 +0000 (1 13:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 6 Mar 2021 10:41:54 +0000 (6 11:41 +0100)
tree82f67ed90cfbd10e914b45ad6b0d736a97a07a8a
parent2c933ac6a883606b85f8cf271bfb40379d077e97
qga-vss: Use dynamic linking for GLib

The current GLib version implements the DllMain function. DllMain is also
present in the provider.cpp code. So in the case of static linking, the
DllMain redefinition error occurs. For now, just switch to dynamic linking
and revert this patch when the issue will be solved.

See Glib issue for more details https://gitlab.gnome.org/GNOME/glib/-/issues/692

Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qga/vss-win32/meson.build