--- ./libvirt-gobject/Makefile.am.orig	2016-07-18 10:03:46.534356500 +0200
+++ ./libvirt-gobject/Makefile.am	2016-07-18 10:06:01.550863500 +0200
@@ -94,7 +94,8 @@
 			$(COVERAGE_CFLAGS:-f%=-Wc,f%) \
 			$(CYGWIN_EXTRA_LDFLAGS) $(MINGW_EXTRA_LDFLAGS) \
 			-Wl,--version-script=$(srcdir)/libvirt-gobject.sym \
-			-version-info $(LIBVIRT_GLIB_VERSION_INFO)
+			-version-info $(LIBVIRT_GLIB_VERSION_INFO) \
+			-no-undefined
 
 libvirt-gobject-enums.c: $(libvirt_gobject_1_0_la_HEADERS)
 	$(AM_V_GEN)glib-mkenums \
