[Spice-devel] [spice-common 1/2] build: Ensure we link with -lm if needed

Christophe Fergeau cfergeau at redhat.com
Mon Jun 4 10:01:56 UTC 2018


On Mon, Jun 04, 2018 at 05:04:05AM -0400, Frediano Ziglio wrote:
> > 
> > lines.c uses hypot(), which is found in libm on some systems.
> > 
> 
> Do you remember which systems? FreeBSD ?

Linux ;) Just add a call to hypot in spice_logv (or something which is
used by one of our tests), ./autogen.sh --disable-celt051, and build
will fail because of the missing -lm.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180604/9295dc27/attachment.sig>


More information about the Spice-devel mailing list