[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH 1/4] Fix out-of-tree build for GObject bindings



---
 gobject/Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gobject/Makefile.am b/gobject/Makefile.am
index be6d58e..f75bcf6 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -58,7 +58,7 @@ libguestfs_gobject_1_0_la_LIBADD = -lguestfs
 # in the subdirectory.
 install-data-hook:
 	rm $(DESTDIR)$(includedir)/guestfs-gobject/guestfs-gobject.h
-	install -m 0644 include/guestfs-gobject.h $(DESTDIR)$(includedir)
+	install -m 0644 $(srcdir)/include/guestfs-gobject.h $(DESTDIR)$(includedir)
 
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
@@ -75,7 +75,7 @@ Guestfs-1.0.gir: $(libname)
 Guestfs_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0
 Guestfs_1_0_gir_CFLAGS = $(INCLUDES) -I$(srcdir)/include
 Guestfs_1_0_gir_LIBS = $(libname)
-Guestfs_1_0_gir_FILES = $(introspection_sources)
+Guestfs_1_0_gir_FILES = $(patsubst %,$(srcdir)/%,$(introspection_sources))
 INTROSPECTION_GIRS += Guestfs-1.0.gir
 
 girdir = $(datadir)/gir-1.0
-- 
1.7.10


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]