[Spice-devel] [PATCH] server: add symbol versioning to the spice server shared library.

Gerd Hoffmann kraxel at redhat.com
Tue Jul 19 06:09:22 PDT 2011


On 07/19/11 15:07, Christophe Fergeau wrote:
> Hey,
>
> On Tue, Jul 19, 2011 at 01:59:31PM +0200, Gerd Hoffmann wrote:
>> diff --git a/server/Makefile.am b/server/Makefile.am
>> index 601840a..d94f9fb 100644
>> --- a/server/Makefile.am
>> +++ b/server/Makefile.am
>> @@ -34,6 +34,7 @@ lib_LTLIBRARIES = libspice-server.la
>>
>>   libspice_server_la_LDFLAGS =			\
>>   	-version-number $(SPICE_LT_VERSION)	\
>> +	-Wl,--version-script=spice-server.syms	\
>
> I think this does not work on windows, spice-gtk uses
> http://cgit.freedesktop.org/spice/spice-gtk/tree/m4/ld-version.m4 to check
> whether --version-script is available.

We don't build the server on windows, only the client ;)

cheers,
   Gerd



More information about the Spice-devel mailing list