mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
The secret driver is stateful, link it directly to libvirtd
All other stateful drivers are linked directly to libvirtd instead of libvirt.so. Link the secret driver to libvirtd too. * daemon/Makefile.am: link the secret driver to libvirtd * daemon/libvirtd.c: add #ifdef WITH_SECRETS blocks * src/Makefile.am: don't link the secret driver to libvirt.so * src/libvirt_private.syms: remove the secretRegister symbol
This commit is contained in:
@@ -93,8 +93,10 @@
|
||||
#ifdef WITH_NODE_DEVICES
|
||||
#include "node_device/node_device_driver.h"
|
||||
#endif
|
||||
#ifdef WITH_SECRETS
|
||||
#include "secret/secret_driver.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __sun
|
||||
@@ -880,7 +882,9 @@ static struct qemud_server *qemudInitialize(void) {
|
||||
#if defined(WITH_NODE_DEVICES)
|
||||
nodedevRegister();
|
||||
#endif
|
||||
#ifdef WITH_SECRETS
|
||||
secretRegister();
|
||||
#endif
|
||||
#ifdef WITH_QEMU
|
||||
qemuRegister();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user