From 7a13af10705c053cbd04c754d9c9f6604856bc93 Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Wed, 28 Mar 2012 23:30:59 +0200 Subject: Fix out-of-tree build for GObject bindings guestfs-gobject.h (in the source directory) was not found. In file included from :4:0: /path/to/libguestfs/gobject/guestfs-gobject.h:23:37: fatal error: guestfs-gobject-session.h: No such file or directory compilation terminated. Error while processing the source. make[2]: *** [Guestfs-1.0.gir] Error 1 (cherry picked from commit 0c9361a3568c23581ab43cb926fe138669c4b168) --- gobject/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/Makefile.am b/gobject/Makefile.am index 7f0a8efd..ca0803e1 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -51,7 +51,7 @@ introspection_sources = \ Guestfs-1.0.gir: $(libname) Guestfs_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 -Guestfs_1_0_gir_CFLAGS = $(INCLUDES) +Guestfs_1_0_gir_CFLAGS = $(INCLUDES) -I$(srcdir) Guestfs_1_0_gir_LIBS = $(libname) Guestfs_1_0_gir_FILES = $(introspection_sources) INTROSPECTION_GIRS += Guestfs-1.0.gir -- cgit