[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 03/11] 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
---
 src/Makefile.am |    2 +-
 src/driver.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index f8b8434..2f94efd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -29,7 +29,7 @@ endif
 
 lib_LTLIBRARIES = libvirt.la libvirt-qemu.la
 
-moddir = $(libdir)/libvirt/drivers
+moddir = $(libdir)/libvirt/connection-driver
 mod_LTLIBRARIES =
 
 confdir = $(sysconfdir)/libvirt
diff --git a/src/driver.c b/src/driver.c
index d83b1fd..6e4aa9f 100644
--- a/src/driver.c
+++ b/src/driver.c
@@ -30,7 +30,7 @@
 #include "util.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 */
 verify((VIR_SECRET_GET_VALUE_INTERNAL_CALL &
-- 
1.7.3.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]