mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
src: Include $(builddir)/util in the header search path
Since a9fe620372
, 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.
This commit is contained in:
parent
04a39574a8
commit
4e8032272f
@ -31,6 +31,7 @@ INCLUDES = -I../gnulib/lib \
|
||||
-I../include \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(srcdir)/util \
|
||||
-I$(builddir)/util \
|
||||
-DIN_LIBVIRT \
|
||||
-Dabs_topbuilddir="\"$(abs_topbuilddir)\"" \
|
||||
-Dabs_topsrcdir="\"$(abs_topsrcdir)\"" \
|
||||
|
Loading…
Reference in New Issue
Block a user