]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix deps for generating RPC dispatch code
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 14 Mar 2013 14:54:09 +0000 (14:54 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 14 Mar 2013 14:55:43 +0000 (14:55 +0000)
commit0946c5f5fc766b782aa5606942370dd751cebb36
treea7f2d7f1ec54908f4710760a22893444b3bcfe99
parent6e46477c23bfed730689fb902ff33c8ca7413ef0
Fix deps for generating RPC dispatch code

The src/lxc/lxc_*_dispatch.h files only had deps on the
RPC generator script & the XDR definition file. So when
the Makefile.am args passed to the generator were change,
the disaptch code was not re-generated. This caused a
build failure

  CC       libvirt_lxc-lxc_controller.o
lxc/lxc_controller.c: In function 'virLXCControllerSetupServer':
lxc/lxc_controller.c:718:47: error: 'virLXCMonitorProcs' undeclared (first use in this function)
lxc/lxc_controller.c:718:47: note: each undeclared identifier is reported only once for each function it appears in
lxc/lxc_controller.c:719:47: error: 'virLXCMonitorNProcs' undeclared (first use in this function)
make[3]: *** [libvirt_lxc-lxc_controller.o] Error 1

For added fun, the generated files were not listed in
CLEANFILES, so only a 'git clean -f' would fix the build

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/Makefile.am