[SCM] musescore/master: Use -Wl, --as-needed to avoid extra library dependencies

jcowgill at users.alioth.debian.org jcowgill at users.alioth.debian.org
Mon Jul 11 10:37:21 UTC 2016


The following commit has been merged in the master branch:
commit 3089e7b59ff696c98cc706ff2f90560ce6318146
Author: James Cowgill <james410 at cowgill.org.uk>
Date:   Sat Jul 9 13:47:58 2016 +0200

    Use -Wl,--as-needed to avoid extra library dependencies

diff --git a/debian/rules b/debian/rules
index 6c40a08..6723e02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 # -*- makefile -*-
 
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
 
 %:
 	dh $@ --buildsystem=cmake --parallel

-- 
musescore packaging



More information about the pkg-multimedia-commits mailing list