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

Michael Tokarev mjt at tls.msk.ru
Fri Jan 11 11:23:33 PST 2013


Ping?

More than half a year has been passed away, but the patch is
still needed for current 0.12.2 version...
(patchwork url: http://patchwork.freedesktop.org/patch/10546/ )

Thanks,

/mjt

04.06.2012 13:35, Christophe Fergeau wrote:
> 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



More information about the Spice-devel mailing list