[xml-security-c] 07/08: The build system now links with the needed libraries only

Ferenc Wágner wferi-guest at moszumanska.debian.org
Thu Jul 21 11:59:40 UTC 2016


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

wferi-guest pushed a commit to branch master
in repository xml-security-c.

commit a5a8a19ca8642e26a77d1249a2e373efd6f94976
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Thu Jul 21 00:34:39 2016 +0200

    The build system now links with the needed libraries only
    
    Separating the discovered dependency libraries into specific variables
    instead of putting everything into LIBS made the --as-needed linker
    options superfluous.
---
 debian/rules | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 5f7c4d9..799d6e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,16 +6,9 @@ UTILS_MAN1DIR := debian/xml-security-c-utils/usr/share/man/man1
 # Enable compiler hardening flags.
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-# Avoid useless dependencies in the utilities
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
 %:
 	dh $@ --with autoreconf
 
-# Avoid useless dependency in the library
-override_dh_autoreconf:
-	dh_autoreconf --as-needed
-
 override_dh_auto_configure:
 	dh_auto_configure -- --without-xalan --disable-static
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xml-security-c.git



More information about the Pkg-shibboleth-devel mailing list