[Spice-devel] [PATCH] build-sys: Fix VPATH builds
Marc-André Lureau
mlureau at redhat.com
Wed Mar 19 08:34:35 PDT 2014
ack
----- Original Message -----
> Fixing this is a matter of picking the spice-common fix to generate the
> (de)marshaller source files in the right place, and to adjust the compiler
> flags to look for includes in the build directory as well.
> ---
> configure.ac | 2 +-
> spice-common | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index aaa7ffc..ddefdb4 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -157,7 +157,7 @@ dnl
> =========================================================================
> dnl Check deps
>
> AC_CONFIG_SUBDIRS([spice-common])
> -COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I
> ${top_srcdir}/spice-common/spice-protocol/'
> +COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I
> ${top_builddir}/spice-common/ -I ${top_srcdir}/spice-common/spice-protocol/'
> AC_SUBST(COMMON_CFLAGS)
>
> AC_CHECK_LIBM
> diff --git a/spice-common b/spice-common
> index 57ce430..c6aa740 160000
> --- a/spice-common
> +++ b/spice-common
> @@ -1 +1 @@
> -Subproject commit 57ce430ccd66bd1ca2447c14503234cfb88e2365
> +Subproject commit c6aa74022f7a5e4ef6ca52858947a1ebd8273cc5
> --
> 1.8.5.3
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
More information about the Spice-devel
mailing list