]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
src: Include $(builddir)/util in the header search path
authorAndrea Bolognani <abologna@redhat.com>
Thu, 8 Oct 2015 06:35:29 +0000 (08:35 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 9 Oct 2015 07:40:37 +0000 (09:40 +0200)
commit4e8032272f1704f72feafa359fa51870f73ae265
tree5b4eaa378f492e8d8e5f115a12598b16b822f530
parent04a39574a8c064c330ced881378715f9606b3f5e
src: Include $(builddir)/util in the header search path

Since a9fe620372144db, we are generating virkeymaps.h at build
time; however, we are not including $(builddir)/util in the
header search path, so when doing a VPATH build the compiler
is unable to locate the file.

make[2]: Entering directory
`/home/jenkins/libvirt/systems/libvirt-fedora-20/build/src'
  GEN      util/virkeymaps.h
  ...
  CC       util/libvirt_util_la-virkeycode.lo
  CC       util/libvirt_util_la-virkeyfile.lo
  CC       util/libvirt_util_la-virlockspace.lo
  CC       util/libvirt_util_la-virlog.lo
../../src/util/virkeycode.c:27:24: fatal error: virkeymaps.h: No such file or directory
 #include "virkeymaps.h"
                        ^
compilation terminated.
src/Makefile.am