summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog4
-rwxr-xr-xdebian/rules2
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index e85024f..2356245 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,10 @@ ntp (1:4.2.6.p3+dfsg-2) UNRELEASED; urgency=low
* Get build flags from dpkg-buildflags, and fix the resulting
-Wformat-security errors using patch from Colin Watson (closes:
#627403)
+ * Add -Wl,--as-needed to LDFLAGS, which drops the dependency of ntpdate
+ on libcap2
- -- Peter Eisentraut <petere@debian.org> Sun, 27 Nov 2011 01:17:14 +0200
+ -- Peter Eisentraut <petere@debian.org> Sun, 27 Nov 2011 21:08:37 +0200
ntp (1:4.2.6.p3+dfsg-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index a851a95..70e8b44 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) -D_GNU_SOURCE
CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -fno-strict-aliasing
-LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
+LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
config.status:
dh_testdir