shithub: sox

Download patch

ref: e6eb907af529367140bcd24496d20dd8c45c0416
parent: aaef9498367fc20af5cb6f559ff15253b5bb4382
author: cbagwell <cbagwell>
date: Thu Jul 31 23:18:12 EDT 2008

Disable versioning for libsox_fmt* libraries.

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,6 +5,14 @@
 AM_CPPFLAGS = -DLADSPA_PATH="\"@LADSPA_PATH@\"" -DPKGLIBDIR="\"$(pkglibdir)\""
 AM_CFLAGS = -Wconversion #-Werror
 
+# This is being used as a short cut to turn off versioning of ALL dynamic
+# fmt libraries.  If any fmt ever needs to add a specific LDFLAGS
+# then it will need to also add -avoid-version because AM_LDFLAGS
+# is ignored when you specify a more specific one.
+# We want to version libsfx and libsox and we are OK because they
+# have a more specific LDFLAGS that includes -version-info.
+AM_LDFLAGS = -avoid-version
+
 # Pass flags from --enable-silent-libtool
 LIBTOOL = @LIBTOOL@ @LIBTOOLFLAGS@