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

Daniel P. Berrange berrange at redhat.com
Thu Nov 29 19:26:13 UTC 2007


On Thu, Nov 29, 2007 at 04:58:33PM +0000, Richard W.M. Jones wrote:
> 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.

ACK, but can we use  $(CYGWIN_EXTRA_LIBADD) instead of  @CYGWIN_EXTRA_LIBADD@
since the former is the style used by the other _LIBADD variables we set
from configure


Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list