[Libguestfs] [PATCH] builder: add index-struct.h as dependency for index-parser-c.c
Richard W.M. Jones
rjones at redhat.com
Tue Jan 21 12:24:09 UTC 2014
On Tue, Jan 21, 2014 at 10:56:32AM +0100, Pino Toscano wrote:
> Just like with index-parse.h, also index-struct.h is a dependency of
> index-parser-c.c which automake cannot generate correctly.
> Thus, add it manually.
> ---
> builder/Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builder/Makefile.am b/builder/Makefile.am
> index fc4c552..6565abb 100644
> --- a/builder/Makefile.am
> +++ b/builder/Makefile.am
> @@ -231,7 +231,7 @@ CLEANFILES += \
>
> # Fix dependencies which automake doesn't generate correctly.
> if HAVE_OCAML
> -index-parser-c.o: index-parse.h
> +index-parser-c.o: index-parse.h index-struct.h
> index-scan.o: index-parse.h
> endif
> index-validate.o: index-parse.h
Because index-parser-c.c #includes index-struct.h, ACK.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
More information about the Libguestfs
mailing list