--- libguestfs-1.18.8/gobject/Makefile.am.orig 2012-09-19 15:12:04.000000000 +0200 +++ libguestfs-1.18.8/gobject/Makefile.am 2012-09-22 19:32:43.065376938 +0200 @@ -51,9 +51,8 @@ libguestfs_gobject_1_0_la_SOURCES = $(guestfs_gobject_sources) libguestfs_gobject_1_0_la_CFLAGS = -I$(top_srcdir)/src -I$(srcdir)/include \ $(GOBJECT_CFLAGS) -libguestfs_gobject_1_0_la_LIBS = $(GOBJECT_LIBS) libguestfs_gobject_1_0_la_LDFLAGS = $(LDFLAGS) -L$(top_builddir)/src -libguestfs_gobject_1_0_la_LIBADD = -lguestfs +libguestfs_gobject_1_0_la_LIBADD = -lguestfs $(GOBJECT_LIBS) $(GIO_LIBS) # All the headers except should be installed # in the subdirectory.