[Spice-devel] [PATCH spice-gtk] configure: Add ${top_builddir}/spice-common to COMMON_CFLAGS
Marc-André Lureau
mlureau at redhat.com
Wed Jul 13 21:38:45 UTC 2016
ack
----- Original Message -----
> This fixes the build when done out of the tree, because of recent commit
> in spice-common with auto-generated files.
>
> Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
> ---
> configure.ac | 2 +-
> spice-common | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index c2d4641..16d946b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -71,7 +71,7 @@ AC_SUBST(LIBM)
> AC_CONFIG_SUBDIRS([spice-common])
> PKG_CHECK_MODULES([SPICE_PROTOCOL], [spice-protocol >= 0.12.12])
>
> -COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ ${SPICE_PROTOCOL_CFLAGS}'
> +COMMON_CFLAGS='-I${top_builddir}/spice-common/ -I${top_srcdir}/spice-common/
> ${SPICE_PROTOCOL_CFLAGS}'
> AC_SUBST(COMMON_CFLAGS)
>
> SPICE_GTK_MAJOR_VERSION=`echo $PACKAGE_VERSION | cut -d. -f1`
> diff --git a/spice-common b/spice-common
> index 073d064..62f3024 160000
> --- a/spice-common
> +++ b/spice-common
> @@ -1 +1 @@
> -Subproject commit 073d064b86d5233d3cbe2136ddfb2a8313b6130e
> +Subproject commit 62f3024f4220766761269618bf3df143ff5c9956
> --
> 2.7.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
>
More information about the Spice-devel
mailing list