[debian-edu-commits] debian-edu/ 17/18: Fix linking against unneeded libraries.

Dominik George natureshadow-guest at moszumanska.debian.org
Fri Oct 7 18:49:31 UTC 2016


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

natureshadow-guest pushed a commit to branch master
in repository guacamole-server.

commit 4a9ae8876a064dda1e1ff5a160988234a29b97d0
Author: Dominik George <nik at naturalnet.de>
Date:   Fri Oct 7 18:32:06 2016 +0200

    Fix linking against unneeded libraries.
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index c2f43ae..9f3bc0e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,7 @@
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
 
 %:
 	dh $@
@@ -21,6 +22,9 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 override_dh_auto_configure:
 	dh_auto_configure -- --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
 
+override_dh_autoreconf:
+	dh_autoreconf --as-needed
+
 override_dh_makeshlibs:
 	dh_makeshlibs -Xfreerdp
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/guacamole-server.git



More information about the debian-edu-commits mailing list