[pkg-db-commits] [db5.3] 08/09: Reduce duplicate .a file in stl/cxx/tcl/sql -dev libraries
Ondrej Sury
ondrej at alioth.debian.org
Mon Oct 28 09:51:25 UTC 2013
This is an automated email from the git hooks/post-receive script.
ondrej pushed a commit to branch debian-sid
in repository db5.3.
commit 4cf16aa23fc94ac0dd54ddd7b4f044eb4fa1a0ab
Author: Ondřej Surý <ondrej at sury.org>
Date: Mon Oct 28 09:17:53 2013 +0100
Reduce duplicate .a file in stl/cxx/tcl/sql -dev libraries
---
debian/rules | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index f7facfd..313799a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -167,8 +167,11 @@ override_dh_auto_install:
# Remove libdb*-5.so from all packages, we don't provide generic libdb5 packages
rm -f $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdb*5.so
- rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdb.a
- ln -s libdb-$(bdbversion).a $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdb.a
+# Reduce duplication in duplicate .a files by symlinking
+ for v in "" _cxx _sql _stl _tcl; do \
+ rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdb$$v.a; \
+ ln -s libdb$$v-$(bdbversion).a $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdb$$v.a; \
+ done
# only works for the native build
ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-db/db5.3.git
More information about the pkg-db-commits
mailing list