summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-03-19 15:15:13 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-04-16 16:50:14 +0200
commitd9fa872a944ded5953f7151280f5c0cc1611bad0 (patch)
tree65888213ce6212aad100014e0c0a21475aa49a93
parentdb984941af2db36859de9e3e1cf65d0a19c6b481 (diff)
downloadspice-d9fa872a944ded5953f7151280f5c0cc1611bad0.tar.gz
spice-d9fa872a944ded5953f7151280f5c0cc1611bad0.tar.xz
spice-d9fa872a944ded5953f7151280f5c0cc1611bad0.zip
build-sys: Fix VPATH builds
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.
-rw-r--r--configure.ac2
m---------spice-common0
2 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e4ba9b24..6fe566f6 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
-Subproject 6edeb43747b6161cbff3bc7c18d221d81f2d3eb
+Subproject 9f8ba3af8047a1d51cd6b76014b89f6251e0839