shithub: opus

Download patch

ref: 8d2e9ade8fe86f0d8f5cf951f8a2034921aaff6b
parent: 07b8e612fa977dad21414e74a7f44cb0fef1e575
author: Gregory Maxwell <[email protected]>
date: Fri Aug 10 13:21:28 EDT 2012

Use configure.ac provided soname versioning.

--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@
 include opus_headers.mk
 
 libopus_la_SOURCES = $(CELT_SOURCES) $(SILK_SOURCES) $(OPUS_SOURCES)
-libopus_la_LDFLAGS = -no-undefined -version-info 2:0:2
+libopus_la_LDFLAGS = -no-undefined -version-info @OPUS_LT_CURRENT@:@OPUS_LT_REVISION@:@OPUS_LT_AGE@
 
 pkginclude_HEADERS = include/opus.h include/opus_multistream.h include/opus_types.h include/opus_defines.h
 
--- a/configure.ac
+++ b/configure.ac
@@ -37,9 +37,9 @@
 AC_DEFINE_UNQUOTED(OPUS_EXTRA_VERSION, "${OPUS_EXTRA_VERSION}", [Version extra])
 
 # For libtool.
-OPUS_LT_CURRENT=0
+OPUS_LT_CURRENT=2
 OPUS_LT_REVISION=0
-OPUS_LT_AGE=0
+OPUS_LT_AGE=2
 
 AC_SUBST(OPUS_LT_CURRENT)
 AC_SUBST(OPUS_LT_REVISION)