]> git.ipfire.org Git - thirdparty/samba.git/commit
build: fix ceph_statx check when configured with libcephfs_dir
authorDavid Disseldorp <ddiss@suse.de>
Thu, 20 Jul 2017 09:10:57 +0000 (11:10 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 13 Feb 2018 12:36:13 +0000 (13:36 +0100)
commit666c6802cbe148356b1b2b19893ce43d3521343a
treee477e030c9013bb774325b0292e26fb5269f78dd
parent301555830d97521f5b64a6ad20aad0aae6ccc3db
build: fix ceph_statx check when configured with libcephfs_dir

When configured with a custom libcephfs_dir, the ceph_statx check fails
to link. This is due to the location of the ceph-common dependency,
which is installed under a ceph subdirectory.

ceph/build > make DESTDIR=./inst install
...
ceph/build > find inst/|grep -e /libcephfs -e /libceph-common
inst/usr/local/lib64/ceph/libceph-common.so.0
inst/usr/local/lib64/ceph/libceph-common.so
inst/usr/local/lib64/libcephfs.so.2.0.0
inst/usr/local/lib64/libcephfs.so.2
inst/usr/local/lib64/libcephfs.so
inst/usr/local/include/cephfs/libcephfs.h

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13250

Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Jeff Layton <jlayton@samba.org>
(cherry picked from commit ff7df3d3f5259362a6bb6780d6b532e57e89681d)

Autobuild-User(v4-6-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-6-test): Tue Feb 13 13:36:13 CET 2018 on sn-devel-144
source3/wscript