diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2015-06-17 15:36:16 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2015-06-18 09:27:47 +0200 |
commit | 13e5ea8bd991d9a93d5e427aac52988e07707b60 (patch) | |
tree | 9f6c725820d4a6626785dbd07c62ca30a4bfc29f /daemon | |
parent | 307081796ee07d5f47e1fef66766de82d5fce642 (diff) | |
download | libvirt-13e5ea8bd991d9a93d5e427aac52988e07707b60.tar.gz |
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>
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/daemon/Makefile.am b/daemon/Makefile.am index b9c089d0e9..d3fc029f05 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -128,8 +128,7 @@ libvirtd_conf_la_LIBADD = $(LIBXML_LIBS) noinst_LTLIBRARIES += libvirtd_admin.la libvirtd_admin_la_SOURCES = \ - admin_server.c admin_server.h \ - ../src/admin/admin_protocol.c + admin_server.c admin_server.h libvirtd_admin_la_CFLAGS = \ $(AM_CFLAGS) \ @@ -145,6 +144,9 @@ libvirtd_admin_la_LDFLAGS = \ $(COVERAGE_LDFLAGS) \ $(NO_INDIRECT_LDFLAGS) +libvirtd_admin_la_LIBADD = \ + ../src/libvirt-admin.la + man8_MANS = libvirtd.8 sbin_PROGRAMS = libvirtd |