[Pkg-samba-maint] [samba] 02/04: vfs_ceph and vfs_glusterfs are linux only (d/rules part)
Mathieu Parent
sathieu at moszumanska.debian.org
Sun Jul 23 22:07:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
sathieu pushed a commit to branch master
in repository samba.
commit 9b4460def907b69023e8962fa712fe2d61cbc551
Author: Mathieu Parent <math.parent at gmail.com>
Date: Sat Jul 22 22:06:43 2017 +0200
vfs_ceph and vfs_glusterfs are linux only (d/rules part)
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index e250dd8..9c6297a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -225,7 +225,11 @@ endif
override_dh_shlibdeps:
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH dh_shlibdeps -a -Xceph.so -Xglusterfs.so -Xsnapper.so
+ifeq ($(DEB_HOST_ARCH_OS), linux)
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH dh_shlibdeps -a -- -pvfsmods -dRecommends -e debian/samba-vfs-modules/usr/lib/*/samba/vfs/ceph.so -e debian/samba-vfs-modules/usr/lib/*/samba/vfs/glusterfs.so -e debian/samba-vfs-modules/usr/lib/*/samba/vfs/snapper.so
+else
+ LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH dh_shlibdeps -a -- -pvfsmods -dRecommends -e debian/samba-vfs-modules/usr/lib/*/samba/vfs/snapper.so
+endif
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