[Libvir] [PATCH 3/3] Python cygvirtmod.dll -> libvirtmod.dll

Richard W.M. Jones rjones at redhat.com
Thu Nov 29 16:58:42 UTC 2007

Cygwin likes to name DLLs as cyg<name>.dll.

This is very unhelpful for Python loadable modules because the init 
function name will be wrong and because it requires a change to the 
'libvirt.py' file to load the right module name (import libvirtmod -> 
import cygvirtmod).

In this patch I've added a post-install hook to make a symlink so that 
Python finds libvirtmod.dll and all is happy.


Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-windows-cygwin-dll-install.patch
Type: text/x-patch
Size: 611 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071129/bcbcc26f/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071129/bcbcc26f/attachment-0003.bin>

More information about the libvir-list mailing list