ecasound (2.9.0-1) 02_build-shared-libecasoundc.patch

Summary

 libecasoundc/Makefile.am |    4 ++--
 libecasoundc/Makefile.in |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

Description: Build shared libecasoundc instead of static
Origin: vendor
Forwarded: not-needed
Author: Alessandro Ghedini <ghedo@debian.org>
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2012-05-09

--- a/libecasoundc/Makefile.am
+++ b/libecasoundc/Makefile.am
@@ -14,9 +14,9 @@
 # !!!
 # remember to update eca-version.cpp
 if ECA_AM_DEBUG_MODE
-eca_ldflags = -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
+eca_ldflags = -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -shared -fPIC
 else
-eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
+eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -shared -fPIC
 endif
 
 INCLUDES = -I$(srcdir)
--- a/libecasoundc/Makefile.in
+++ b/libecasoundc/Makefile.in
@@ -299,7 +299,7 @@
 target_alias = @target_alias@
 EXTRA_DIST = ChangeLog
 AUTOMAKE_OPTIONS = foreign
-@ECA_AM_DEBUG_MODE_FALSE@eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
+@ECA_AM_DEBUG_MODE_FALSE@eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -shared -fPIC
 
 # ----------------------------------------------------------------------
 # defines
@@ -307,7 +307,7 @@
 
 # !!!
 # remember to update eca-version.cpp
-@ECA_AM_DEBUG_MODE_TRUE@eca_ldflags = -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
+@ECA_AM_DEBUG_MODE_TRUE@eca_ldflags = -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -shared -fPIC
 INCLUDES = -I$(srcdir)
 @ECA_AM_DEBUG_MODE_FALSE@lib_LTLIBRARIES = libecasoundc.la
 # -I$(top_srcdir)/libecasound