]> git.ipfire.org Git - thirdparty/libvirt.git/commit
daemon: Don't just include admin RPC
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 17 Jun 2015 13:36:16 +0000 (15:36 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 18 Jun 2015 07:27:47 +0000 (09:27 +0200)
commit13e5ea8bd991d9a93d5e427aac52988e07707b60
tree9f6c725820d4a6626785dbd07c62ca30a4bfc29f
parent307081796ee07d5f47e1fef66766de82d5fce642
daemon: Don't just include admin RPC

So, it's a little paradox that we use the file twice. Firstly to build
libvirt-admin.la (a client side of the Admin API), then once again to
build the server side. Well, the problem is, this does not play nicely
with the distclean since the file is generated. So while it's removed
in the src/ the distclean running in daemon/ will not find the file
and fail. The file is needed because it contains the RPC wrappers. So
let's leave the client code as is and from the daemon/ just link the
client library. The linker will find desired symbols and use them.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
daemon/Makefile.am