[Libvir] [PATCH 2/3] Cygwin-specific LDFLAGS and LIBADD

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


Cygwin requires some extra LDFLAGS and LIBADD be passed when linking. 
Rather than add these extra flags to all invocations, I've created 
special @CYGWIN_EXTRA_*@ symbols to contain them.

This is basically copied from libxml2.

Also ordering of *_LIBADD and *_LDFLAGS seems to be important in 
automake.  Specifically: if libvirt_la_SOURCES comes after 
libvirt_la_LDFLAGS then automake wasn't able to determine the list of 
sources (I've no idea why but possibly because libvirt_la_SOURCES is 
defined in terms of other variables?), so I've reordered these lines.

Rich.

-- 
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.patch
Type: text/x-patch
Size: 3654 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071129/50e5adc0/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/50e5adc0/attachment-0003.bin>


More information about the libvir-list mailing list