diff options
author | Hilko Bengen <bengen@hilluzination.de> | 2012-03-28 23:30:59 +0200 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-03-30 15:39:17 +0100 |
commit | 7a13af10705c053cbd04c754d9c9f6604856bc93 (patch) | |
tree | 97496d3e05da947b6c543a9826de57060b0ab98e | |
parent | 83c41b83a7ae70cda183830172628440d98e9899 (diff) | |
download | libguestfs-7a13af10705c053cbd04c754d9c9f6604856bc93.tar.gz libguestfs-7a13af10705c053cbd04c754d9c9f6604856bc93.tar.xz libguestfs-7a13af10705c053cbd04c754d9c9f6604856bc93.zip |
Fix out-of-tree build for GObject bindings
guestfs-gobject.h (in the source directory) was not found.
In file included from <stdin>: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)
-rw-r--r-- | gobject/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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 |