mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
build: fix VPATH builds
The build currently fails when trying to create virnetprotocol.c into $(builddir)/rpc, which doesn't exist. But since the file is part of the tarball, it should be generated into $(srcdir). Caught by autobuild.sh. * src/Makefile.am (VIR_NET_RPC_GENERATED): Generate into srcdir.
This commit is contained in:
parent
e0858026a2
commit
481e4d795c
@ -1201,7 +1201,9 @@ EXTRA_DIST += \
|
|||||||
rpc/gendispatch.pl \
|
rpc/gendispatch.pl \
|
||||||
rpc/genprotocol.pl
|
rpc/genprotocol.pl
|
||||||
|
|
||||||
VIR_NET_RPC_GENERATED = rpc/virnetprotocol.h rpc/virnetprotocol.c
|
VIR_NET_RPC_GENERATED = \
|
||||||
|
$(srcdir)/rpc/virnetprotocol.h \
|
||||||
|
$(srcdir)/rpc/virnetprotocol.c
|
||||||
|
|
||||||
BUILT_SOURCES += $(VIR_NET_RPC_GENERATED)
|
BUILT_SOURCES += $(VIR_NET_RPC_GENERATED)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user