[Pkg-voip-commits] [twinkle] 69/73: Link with -Wl, --as-needed to avoid useless library dependencies

Peter Colberg pc-guest at moszumanska.debian.org
Wed Jan 6 00:31:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

pc-guest pushed a commit to branch master
in repository twinkle.

commit 3e89b4b3f32f3d7a96f0324fa61b282530e03f30
Author: Peter Colberg <peter at colberg.org>
Date:   Wed Dec 30 18:50:21 2015 -0500

    Link with -Wl,--as-needed to avoid useless library dependencies
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 5c07fa0..c37e7a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,9 @@ ifeq (,$(filter $(DEB_HOST_ARCH),kfreebsd-amd64 kfreebsd-i386 hurd-i386))
 CONFIGURE_FLAGS += -DWITH_ALSA=ON
 endif
 
+# Avoid useless library dependencies
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
 %:
 	dh $@ --parallel
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/twinkle.git



More information about the Pkg-voip-commits mailing list