[SCM] gmerlin/master: Link with --as-needed

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sun Jan 16 23:42:33 UTC 2011


The following commit has been merged in the master branch:
commit 47d72763218895628a528efa4462a6925e088e60
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Jan 17 00:42:17 2011 +0100

    Link with --as-needed

diff --git a/debian/rules b/debian/rules
index 9530507..a7af830 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-  
+LDFLAGS+=-Wl,--as-needed
+
 include /usr/share/cdbs/1/rules/upstream-tarball.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk

-- 
gmerlin packaging



More information about the pkg-multimedia-commits mailing list