ecasound (2.9.0-1) 03_build-shared-libkvutils.patch

Summary

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

    
download this patch

Patch contents

Description: Build shared libkvutils 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/kvutils/Makefile.am
+++ b/kvutils/Makefile.am
@@ -56,7 +56,7 @@
 			kvu_value_queue.h

 libkvutils_la_SOURCES = $(kvutil_sources) $(kvutil_headers)
-libkvutils_la_LDFLAGS = -version-info @LIBKVUTILS_VERSION@:0:@LIBKVUTILS_VERSION_AGE@ -static
+libkvutils_la_LDFLAGS = -version-info @LIBKVUTILS_VERSION@:0:@LIBKVUTILS_VERSION_AGE@ -shared -fPIC

 libkvutils_debug_la_SOURCES = $(libkvutils_la_SOURCES)
 libkvutils_debug_la_LDFLAGS = $(libkvutils_la_LDFLAGS)
--- a/kvutils/Makefile.in
+++ b/kvutils/Makefile.in
@@ -337,7 +337,7 @@
 			kvu_value_queue.h

 libkvutils_la_SOURCES = $(kvutil_sources) $(kvutil_headers)
-libkvutils_la_LDFLAGS = -version-info @LIBKVUTILS_VERSION@:0:@LIBKVUTILS_VERSION_AGE@ -static
+libkvutils_la_LDFLAGS = -version-info @LIBKVUTILS_VERSION@:0:@LIBKVUTILS_VERSION_AGE@ -shared -fPIC
 libkvutils_debug_la_SOURCES = $(libkvutils_la_SOURCES)
 libkvutils_debug_la_LDFLAGS = $(libkvutils_la_LDFLAGS)
 libkvutils_tester_SOURCES = libkvutils_tester.cpp
--- a/libecasound/Makefile.am
+++ b/libecasound/Makefile.am
@@ -368,7 +368,7 @@

 libecasound_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
 libecasound_debug_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
-libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -static
+libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -static -L$(top_builddir)/kvutils -lkvutils
 libecasound_la_LIBADD = $(eca_libadd)
 libecasound_debug_la_LDFLAGS = $(libecasound_la_LDFLAGS)
 libecasound_debug_la_LIBADD = $(libecasound_la_LIBADD)
--- a/libecasound/Makefile.in
+++ b/libecasound/Makefile.in
@@ -753,7 +753,7 @@

 libecasound_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
 libecasound_debug_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
-libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -static
+libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -static -L$(top_builddir)/kvutils -lkvutils
 libecasound_la_LIBADD = $(eca_libadd)
 libecasound_debug_la_LDFLAGS = $(libecasound_la_LDFLAGS)
 libecasound_debug_la_LIBADD = $(libecasound_la_LIBADD)