From 5684e131de866f11e856ad3d69988865f2cd0eaf Mon Sep 17 00:00:00 2001 From: Erik Walthinsen Date: Fri, 1 Feb 2002 22:37:16 +0000 Subject: [PATCH] Change soversion back to 0:0:0 and add use of -release flag for libtool. Original commit message from CVS: Change soversion back to 0:0:0 and add use of -release flag for libtool. This means that any program linking against libgst will automatically have the specific release of libgst encoded into it. This enforces the fact that (for the moment), the API/ABI is changing rapidly enough that you can't link against 0.3.2 originally and have it still work with 0.3.3. It might be possible, but highly unlikely. When we get closer to a stable API/ABI, in the 0.5.0 timeframe most likely, we will start using soversions as recommended in the libtool docs. Then we have to pay more attention to forward and backwards compatiblity, or rather, we have to *start* paying attention --- configure.ac | 2 +- gst/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 29a3498a30..d5ca3fcaae 100644 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,7 @@ AC_DEFINE_UNQUOTED(GST_VERSION_RELEASE, "$GST_VERSION_RELEASE") AC_SUBST(GST_VERSION_RELEASE) dnl libtool -GST_CURRENT=3 +GST_CURRENT=0 GST_REVISION=0 GST_AGE=0 GST_LIBVERSION=$GST_CURRENT:$GST_REVISION:$GST_AGE diff --git a/gst/Makefile.am b/gst/Makefile.am index 22a146b836..549ddba158 100644 --- a/gst/Makefile.am +++ b/gst/Makefile.am @@ -215,6 +215,6 @@ libgst_la_CFLAGS = -D_GNU_SOURCE -DGST_CONFIG_DIR=\""$(GST_CONFIG_DIR)"\" \ libgst_la_LIBADD = $(LIBGST_LIBS) -libgst_la_LDFLAGS = -version-info $(GST_LIBVERSION) +libgst_la_LDFLAGS = -version-info $(GST_LIBVERSION) -release $(GST_VERSION) EXTRA_DIST = ROADMAP