[cheese] use different LT_VERSION numbers for libcheese and libcheese-gtk



commit 079d154bff9928618d5ab8932f58c459da2a5bdd
Author: daniel g. siegel <dgsiegel gnome org>
Date:   Tue Feb 1 00:12:34 2011 +0100

    use different LT_VERSION numbers for libcheese and libcheese-gtk

 configure.ac          |    8 +++++---
 libcheese/Makefile.am |    5 ++++-
 2 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1b4b64d..815631b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@ GNOME_COMPILE_WARNINGS
 GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
 
 #*******************************************************************************
-# soname
+# Libraries
 #*******************************************************************************
 # Before making a release, the CHEESE_LT_VERSION string should be modified.
 # The string is of the form C:R:A.
@@ -36,8 +36,10 @@ GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
 # - If binary compatibility has been broken (eg removed or changed interfaces)
 #   change to C+1:0:0
 # - If the interface is the same as the previous version, change to C:R+1:A
-CHEESE_LT_VERSION=18:0:0
-AC_SUBST(CHEESE_LT_VERSION)
+LIBCHEESE_LT_VERSION=0:0:0
+LIBCHEESE_GTK_LT_VERSION=19:0:0
+AC_SUBST(LIBCHEESE_LT_VERSION)
+AC_SUBST(LIBCHEESE_GTK_LT_VERSION)
 
 #*******************************************************************************
 # Expanded dirs
diff --git a/libcheese/Makefile.am b/libcheese/Makefile.am
index 43e03c0..1ada5fc 100644
--- a/libcheese/Makefile.am
+++ b/libcheese/Makefile.am
@@ -64,13 +64,16 @@ cheese_HEADERS = cheese-widget.h cheese-avatar-chooser.h cheese-camera.h cheese-
 
 libcheese_la_LIBADD = \
 	$(CHEESE_LIBS)
+libcheese_la_LDFLAGS = \
+	-version-info $(LIBCHEESE_LT_VERSION) \
+	$(AM_LDFLAGS)
 
 libcheese_gtk_la_LIBADD = \
 	libcheese.la \
 	$(CHEESE_LIBS) \
 	$(CHEESE_GTK_LIBS)
 libcheese_gtk_la_LDFLAGS = \
-	-version-info $(CHEESE_LT_VERSION)		\
+	-version-info $(LIBCHEESE_GTK_LT_VERSION)		\
 	-export-symbols $(srcdir)/cheese-gtk.symbols	\
 	-no-undefined					\
 	$(AM_LDFLAGS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]