shithub: libsamplerate

Download patch

ref: 3c2aa508a3d01ec1d572d778eb358a5cf72bc87b
parent: c5335ba62cd70df48f994008e36f218f836abbd4
author: Erik de Castro Lopo <erikd@miles>
date: Sun Apr 17 23:49:10 EDT 2005

Fix minor problems with the shared library version number.

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-18  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
+
+    * configure.ac src/Makefile.am
+    Fix minor problems with generation of shared library version number.
+
 2005-02-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
     * src/faq.html
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,7 @@
 #  6. If any interfaces have been removed since the last public release, then set age
 #     to 0.
 
-SHARED_VERSION_INFO="1:1:1"
+SHARED_VERSION_INFO="1:3:1"
 
 AC_PROG_CC
 AC_PROG_INSTALL
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -14,7 +14,7 @@
 SRC_SOURCES = samplerate.c src_sinc.c $(COEFF_HDRS) src_zoh.c src_linear.c
 
 # MinGW requires -no-undefined if a DLL is to be built.
-libsamplerate_la_LDFLAGS = -no-undefined version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
+libsamplerate_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
 libsamplerate_la_SOURCES = $(SRC_SOURCES) $(noinst_HEADERS)
 libsamplerate_la_LIBADD  = -lm