Skip to content
Browse files

debian/rules: Add -Wl,--as-needed to LDFLAGS

This avoids having an extra dependency on libncurses5. This isn't
terribly important since ncurses libraries have symbols files, but it's
more correct that way.
  • Loading branch information...
1 parent 24d431e commit 30f21105bec5043d74cce1a4df0dd33f705526cc @orebokech orebokech committed
Showing with 7 additions and 0 deletions.
  1. +6 −0 debian/changelog
  2. +1 −0 debian/rules
View
6 debian/changelog
@@ -1,3 +1,9 @@
+tmux (1.6~svn2630-3) UNRELEASED; urgency=low
+
+ * Add -Wl,--as-needed to LDFLAGS to lose extra dependency on libncurses5.
+
+ -- Romain Francoise <rfrancoise@debian.org> Tue, 15 Nov 2011 21:18:37 +0100
+
tmux (1.6~svn2630-2) experimental; urgency=low
* Redo build flags handling:
View
1 debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
%:
dh $@ --parallel

0 comments on commit 30f2110

Please sign in to comment.
Something went wrong with that request. Please try again.