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

Christophe Fergeau cfergeau at redhat.com
Tue Jul 19 06:07:11 PDT 2011


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.

Christophe
-------------- 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/20110719/6bc2ad54/attachment.pgp>


More information about the Spice-devel mailing list