提交 481e4d79 编写于 作者: E Eric Blake

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.
上级 e0858026
......@@ -1201,7 +1201,9 @@ EXTRA_DIST += \
rpc/gendispatch.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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册