[Pkg-samba-maint] [samba] 03/03: Use ctdb path for shlibs

Mathieu Parent sathieu at moszumanska.debian.org
Sat Sep 10 18:35:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

sathieu pushed a commit to branch wip2
in repository samba.

commit 9e7b702f3b6a3f344c4b101d96baba6daefa0835
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Mon Jul 27 06:41:00 2015 +0200

    Use ctdb path for shlibs
---
 debian/make_shlibs | 6 +++++-
 debian/rules       | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/make_shlibs b/debian/make_shlibs
index 7ac5495..8154b7e 100755
--- a/debian/make_shlibs
+++ b/debian/make_shlibs
@@ -22,7 +22,11 @@ make_shlibs() {
 	#   the symbols file (dpkg-gensymbols -c4)
 	# - create first part of the shlibs file:
 	#   for public libraries, we want a weak dependency in the shlibs file
-	dh_makeshlibs -p$pkg -V -X/usr/lib/${DEB_HOST_MULTIARCH}/samba -X/usr/lib/${DEB_HOST_MULTIARCH}/plugin -- -c4
+	dh_makeshlibs -p$pkg -V \
+        -X/usr/lib/${DEB_HOST_MULTIARCH}/samba \
+        -X/usr/lib/${DEB_HOST_MULTIARCH}/ctdb \
+        -X/usr/lib/${DEB_HOST_MULTIARCH}/plugin \
+        -- -c4
 	[ -e $PKGDIR/shlibs ] && mv $PKGDIR/shlibs $PKGDIR/shlibs.1
 
 	# step 2:
diff --git a/debian/rules b/debian/rules
index b1277a8..4d19ba6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -218,7 +218,7 @@ ifneq (,$(filter ctdb, $(shell dh_listpackages)))
 endif
 
 override_dh_shlibdeps:
-	LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH dh_shlibdeps -a
+	LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/ctdb:$$LD_LIBRARY_PATH dh_shlibdeps -a
 
 override_dh_gencontrol:
 	dh_gencontrol -- -Vldb:Depends=$(LDB_DEPENDS)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list