[Pkg-wmaker-commits] [wmmon] 17/19: debian/rules: Append '-Wl, --as-needed' to LDFLAGS to useless dependencies.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 12 23:57:30 UTC 2017


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

dtorrance-guest pushed a commit to branch master
in repository wmmon.

commit 0b0f6907068c0736cd172b383f851c2770e3019e
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Sat Aug 12 19:51:44 2017 -0400

    debian/rules: Append '-Wl,--as-needed' to LDFLAGS to useless dependencies.
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..dca5565 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,8 @@
 #!/usr/bin/make -f
 
+# wmmon is overlinked thanks to the libdockapp pkg-config file.
+# We should be able to remove this after libdockapp has been updated.
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
 %:
 	dh $@

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



More information about the Pkg-wmaker-commits mailing list