psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone
384b531
From 7ae728b1a5db0290ca2ed488ae3e67c968d2f477 Mon Sep 17 00:00:00 2001
384b531
From: "Richard W.M. Jones" <rjones@redhat.com>
384b531
Date: Tue, 5 Nov 2013 15:42:05 +0000
384b531
Subject: [PATCH] builder: Add missing dependency.
384b531
384b531
index-parser-c.c depends on index-parse.h being created first.
384b531
However without an explicit dependency, this is not done (and implicit
384b531
deps don't work because automake doesn't sufficiently understand OCaml
384b531
programs).
384b531
384b531
This fixes commit a4800e2d4fc50f372a8b626333c4fbb9b8ca9633.
384b531
384b531
(cherry picked from commit dfe97b352d6b398c3cb3ddb1c9984767722e514b)
384b531
---
384b531
 builder/Makefile.am | 2 ++
384b531
 1 file changed, 2 insertions(+)
384b531
384b531
diff --git a/builder/Makefile.am b/builder/Makefile.am
384b531
index 2027203..a44f820 100644
384b531
--- a/builder/Makefile.am
384b531
+++ b/builder/Makefile.am
384b531
@@ -120,6 +120,8 @@ virt-builder: $(OBJECTS)
384b531
 .ml.cmx:
384b531
 	$(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) -c $< -o $@
384b531
 
384b531
+index-parser-c.o: index-parse.h
384b531
+
384b531
 # Manual pages and HTML files for the website.
384b531
 
384b531
 man_MANS += virt-builder.1
384b531
-- 
384b531
1.8.3.1
384b531