mirror of https://gitee.com/openkylin/libvirt.git
Move connection driver modules directory
When built as modules, the connection drivers live in $LIBDIR/libvirt/drivers. Now we add lock manager drivers, we need to distinguish. So move the existing modules to 'connection-driver' * src/Makefile.am: Move module install dir * src/driver.c: Move module search dir
This commit is contained in:
parent
88d04d170f
commit
8ce5d404be
|
@ -29,7 +29,7 @@ endif
|
||||||
|
|
||||||
lib_LTLIBRARIES = libvirt.la libvirt-qemu.la
|
lib_LTLIBRARIES = libvirt.la libvirt-qemu.la
|
||||||
|
|
||||||
moddir = $(libdir)/libvirt/drivers
|
moddir = $(libdir)/libvirt/connection-driver
|
||||||
mod_LTLIBRARIES =
|
mod_LTLIBRARIES =
|
||||||
|
|
||||||
confdir = $(sysconfdir)/libvirt
|
confdir = $(sysconfdir)/libvirt
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "configmake.h"
|
#include "configmake.h"
|
||||||
|
|
||||||
#define DEFAULT_DRIVER_DIR LIBDIR "/libvirt/drivers"
|
#define DEFAULT_DRIVER_DIR LIBDIR "/libvirt/connection-driver"
|
||||||
|
|
||||||
/* Make sure ... INTERNAL_CALL can not be set by the caller */
|
/* Make sure ... INTERNAL_CALL can not be set by the caller */
|
||||||
verify((VIR_SECRET_GET_VALUE_INTERNAL_CALL &
|
verify((VIR_SECRET_GET_VALUE_INTERNAL_CALL &
|
||||||
|
|
Loading…
Reference in New Issue