[Spice-commits] gtk/Makefile.am

Marc-André Lureau elmarco at kemper.freedesktop.org
Tue Jul 26 09:28:27 PDT 2011


 gtk/Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d5a83e57aedd09241f8c09895df69206ceb782c3
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Tue Jul 26 18:26:35 2011 +0200

    build: fix libtool versionning
    
    As pointed out by Daniel P. Berrange:
    "Arrggh !  There's a typo there. You want '-version-info' not
    '-version-number'.   The latter directly sets the major/minor
    soname values hence why you keeping seeing incompatible versions :-("

diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 1a9cf27..edec166 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -75,7 +75,7 @@ AM_CPPFLAGS = \
 
 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
 SPICE_GTK_LDFLAGS_COMMON =		\
-	-version-number 1:2:0		\
+	-version-info 1:2:0		\
 	-no-undefined			\
 	$(VERSION_LDFLAGS)		\
 	$(NULL)
@@ -127,7 +127,7 @@ libspice_client_gtkinclude_HEADERS =	\
 	$(NULL)
 
 libspice_client_glib_2_0_la_LDFLAGS =	\
-	-version-number 4:0:3		\
+	-version-info 4:0:3		\
 	-no-undefined			\
 	$(VERSION_LDFLAGS)		\
 	$(NULL)


More information about the Spice-commits mailing list