[SCM] liblivemedia/master: Pass LDFLAGS to the shared library linker.

bdrung at users.alioth.debian.org bdrung at users.alioth.debian.org
Sat Jan 5 11:02:08 UTC 2013


The following commit has been merged in the master branch:
commit 8c70fb0c362b2d215fe056d815c3866efc46a375
Author: Benjamin Drung <bdrung at debian.org>
Date:   Sat Jan 5 11:57:40 2013 +0100

    Pass LDFLAGS to the shared library linker.

diff --git a/debian/patches/linker-flags.patch b/debian/patches/linker-flags.patch
new file mode 100644
index 0000000..c0f59f8
--- /dev/null
+++ b/debian/patches/linker-flags.patch
@@ -0,0 +1,14 @@
+Description: Pass LDFLAGS to the shared library linker
+Author: Benjamin Drung <bdrung at debian.org>
+
+--- a/config.linux-with-shared-libraries
++++ b/config.linux-with-shared-libraries
+@@ -38,7 +38,7 @@
+ LIBRARY_LINK =		gcc -o 
+ SHORT_LIB_SUFFIX =	so.$(shell expr $($(NAME)_VERSION_CURRENT) - $($(NAME)_VERSION_AGE))
+ LIB_SUFFIX =	 	$(SHORT_LIB_SUFFIX).$($(NAME)_VERSION_AGE).$($(NAME)_VERSION_REVISION)
+-LIBRARY_LINK_OPTS =	-shared -Wl,-soname,$(NAME).$(SHORT_LIB_SUFFIX)
++LIBRARY_LINK_OPTS =	-shared -Wl,-soname,$(NAME).$(SHORT_LIB_SUFFIX) $(LDFLAGS)
+ LIBS_FOR_CONSOLE_APPLICATION =
+ LIBS_FOR_GUI_APPLICATION =
+ EXE =
diff --git a/debian/patches/series b/debian/patches/series
index bd87a8b..03e365e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 020_invalid_casts.patch
 021_ip_mreq_source.patch
+linker-flags.patch

-- 
liblivemedia packaging



More information about the pkg-multimedia-commits mailing list