[libdispatch-dev] [PATCH 2/4] check whether to add -lm for testing to compile

Robert Watson robert at fledge.watson.org
Wed Nov 18 08:20:55 PST 2009

On Wed, 18 Nov 2009, Paolo Bonzini wrote:

> On 11/18/2009 04:50 PM, Mario Schwalbe wrote:
>> I thought this is what LT_LIB_M does already, as it adds -lm or -lmw to 
>> LIBM on systems that require it. This variable in turn can be used just 
>> with the binary that requires it. What's the difference?
> FWIW, I agree that LT_LIB_M is a good choice.

Has anyone else noticed that getting libdispatch to run on a new OS is the 
easy bit, and that figuring out the auto*/libtool/pkg-config/etc stuff is the 
hard bit? :-)

I'll go with the LT_LIB_M route as-submitted.

Robert N M Watson
Computer Laboratory
University of Cambridge

More information about the libdispatch-dev mailing list