summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-01-19 20:44:41 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-01-20 15:40:30 -0500
commit0a9c75c084d0a557011c1c4c0a946b57d5fe7ad6 (patch)
tree8decb77f4dbe33aa6f1c2dd9668cccc8ab7d9283
parent81c334d97772e3fc32fc75ffc50b7a618577a264 (diff)
Link as-needed
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index c975c95a..9a8c16c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
# -*- makefile -*-
+# Avoid overlinking and reduce library dependencies.
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
%:
dh $@ --with autoreconf