[Spice-devel] [PATCH] link libspice server with libm libpthread

Christophe Fergeau cfergeau at redhat.com
Mon Jun 4 02:35:45 PDT 2012


ACK

Christophe

On Sat, Jun 02, 2012 at 05:33:42PM +0400, Michael Tokarev wrote:
> server/Makefile apparently forgot to link libspice-server
> with -lm -lpthread, but it uses symbols from these libraries
> directly.  These libs are detected by configure and stored in
> $(SPICE_NONPKGCONFIG_LIBS) make variable, but this variable
> is never referenced at link time.  Add it to server/Makefile.am,
> to libspice_server_la_LIBADD variable.
> 
> Signed-off-By: Michael Tokarev <mjt at tls.msk.ru>
> ---
>  server/Makefile.am |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/server/Makefile.am b/server/Makefile.am
> index 97e7dfe..14e5694 100644
> --- a/server/Makefile.am
> +++ b/server/Makefile.am
> @@ -38,6 +38,7 @@ libspice_server_la_LIBADD =						\
>  	$(SLIRP_LIBS)							\
>  	$(SSL_LIBS)							\
>  	$(Z_LIBS)							\
> +	$(SPICE_NONPKGCONFIG_LIBS)					\
>  	$(NULL)
>  
>  libspice_server_la_SOURCES =			\
> -- 
> 1.7.10
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120604/3069c08e/attachment-0001.pgp>


More information about the Spice-devel mailing list