[libvirt] [libvirt-java] [PATCH 09/65] jna: load virt-0 or virt library depending on the platform

Daniel P. Berrange berrange at redhat.com
Fri Feb 21 10:36:33 UTC 2014


On Thu, Feb 13, 2014 at 04:22:17PM +0100, Claudio Bley wrote:
> On Windows, the libvirt DLL is called libvirt-0.dll. Trying to load
> the "virt" library hence fails to find the file. Branch on the platform
> and load "virt-0" if we're running on this OS, use "virt" otherwise.
> 
> Signed-off-by: Claudio Bley <cbley at av-test.de>
> ---
>  src/main/java/org/libvirt/jna/Libvirt.java |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list