summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2009-11-12 08:11:40 +0000
committerMichael Biebl <biebl@debian.org>2009-11-12 08:11:40 +0000
commit39060ad22a3b276c9e749beb2e5f7918205f8fc5 (patch)
tree1fa121b3783fbafc44df41a6ff427fda40c13153 /debian
parent745d18b9ac38c4be13b602bab2b79e73b0acf5c5 (diff)
downloaddbus-39060ad22a3b276c9e749beb2e5f7918205f8fc5.tar.gz
Improve the way we create the symlink from /usr/lib/ → /lib by using
readlink. git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/dbus@3253 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 9690449f..d101b751 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ dbus (1.2.16-3) UNRELEASED; urgency=low
libaudit shlib dependency.
- Drop our workaround for the broken binutils and reenable -pie on mips.
(Closes: #533460)
+ - Improve the way we create the symlink from /usr/lib/ → /lib by using
+ readlink.
-- Michael Biebl <biebl@debian.org> Thu, 12 Nov 2009 09:04:48 +0100
diff --git a/debian/rules b/debian/rules
index 92c283b3..ef45c055 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,7 +35,7 @@ build/dbus-1-doc::
xsltproc -o dbus.devhelp debian/doxygen_to_devhelp.xsl doc/api/xml/index.xml
install/libdbus-1-dev::
- dh_link -p$(cdbs_curpkg) lib/`basename debian/tmp/usr/lib/libdbus-1.so.*.*.*` usr/lib/libdbus-1.so
+ dh_link -p$(cdbs_curpkg) lib/$$(basename $$(readlink debian/tmp/usr/lib/libdbus-1.so)) usr/lib/libdbus-1.so
clean::
rm -rf doc/api