[libvirt] [PATCH] Drop the leading lib from libvirt. Based on testing by thomas@xxxxxxxxxx this is a better way to load the libarary

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

 



---
 src/main/java/org/libvirt/jna/Libvirt.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/libvirt/jna/Libvirt.java b/src/main/java/org/libvirt/jna/Libvirt.java
index 33914ac..62f7ba3 100644
--- a/src/main/java/org/libvirt/jna/Libvirt.java
+++ b/src/main/java/org/libvirt/jna/Libvirt.java
@@ -20,7 +20,7 @@ public interface Libvirt extends Library {
         public int authCallback(virConnectCredential cred, int ncred, Pointer cbdata);
     }
 
-    Libvirt INSTANCE = (Libvirt) Native.loadLibrary("libvirt", Libvirt.class);
+    Libvirt INSTANCE = (Libvirt) Native.loadLibrary("virt", Libvirt.class);
     
     // Constants we need
     public static int VIR_UUID_BUFLEN = 16;
-- 
1.6.0.6

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]