[Libguestfs] [PATCH 1/3] out-of-tree build: daemon
Richard W.M. Jones
rjones at redhat.com
Mon Oct 24 14:49:36 UTC 2011
On Thu, Oct 20, 2011 at 02:20:54PM +0200, Hilko Bengen wrote:
> ---
> daemon/Makefile.am | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/daemon/Makefile.am b/daemon/Makefile.am
> index e23ce86..af075d7 100644
> --- a/daemon/Makefile.am
> +++ b/daemon/Makefile.am
> @@ -42,10 +42,10 @@ noinst_LIBRARIES = libprotocol.a
> libprotocol_a_SOURCES = guestfs_protocol.c guestfs_protocol.h
> libprotocol_a_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing
>
> -guestfs_protocol.c: $(libsrcdir)/guestfs_protocol.c
> +guestfs_protocol.c: $(srcdir)/guestfs_protocol.c
> rm -f $@
> ln $< $@
> -guestfs_protocol.h: $(libsrcdir)/guestfs_protocol.h
> +guestfs_protocol.h: $(srcdir)/guestfs_protocol.h
> rm -f $@
> ln $< $@
> $(libsrcdir)/guestfs_protocol.c: force
Sorry, we had to revert this one because it caused build failures when
the source and build dir were the same. See:
http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=35900223df1d05d0b8f4da79c854bee9899f81be
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
More information about the Libguestfs
mailing list