Package: bluez Version: 4.94-3 Followup-For: Bug #636633 One more thing:
0011-link-with-as-needed-needs-dh_autoreconf-as-needed-to.patch: link libraries with as-needed to avoid unneccessary dependencies, needs dh_autoreconf --as-needed to patch ltmain.sh Thanks, Daniel Schaal
>From 3225824564f4c9dccb3ffa8086599c84b07b91ca Mon Sep 17 00:00:00 2001 From: Daniel Schaal <farb...@web.de> Date: Fri, 5 Aug 2011 09:47:39 +0200 Subject: [PATCH] link with as-needed (needs dh_autoreconf --as-needed to patch ltmain.sh) --- debian/rules | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/debian/rules b/debian/rules index ef7fa59..44be641 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,9 @@ %: dh $@ --with autoreconf --parallel +override_dh_autoreconf: + dh_autoreconf --as-needed + override_dh_auto_configure: dh_auto_configure -- --enable-health \ --enable-gstreamer \ @@ -30,7 +33,8 @@ override_dh_auto_configure: --disable-hal \ --enable-thermometer \ --enable-dbusoob \ - --with-systemdunitdir=/lib/systemd/system + --with-systemdunitdir=/lib/systemd/system \ + LDFLAGS=-Wl,--as-needed TEST_PROGRAM_LIST = simple-agent simple-service test-adapter test-audio test-device \ test-discovery test-input test-manager test-network test-serial \ -- 1.7.5.4