mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
build: fix libceph-common detection
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13277 Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Thu Feb 22 19:30:12 CET 2018 on sn-devel-144
This commit is contained in:
parent
8c833470fc
commit
6a59619844
@ -1526,11 +1526,13 @@ main() {
|
||||
conf.env['CPPPATH_CEPHFS'] = Options.options.libcephfs_dir + '/include'
|
||||
conf.env['LIBPATH_CEPHFS'] = Options.options.libcephfs_dir + '/lib'
|
||||
conf.env['LIBPATH_CEPH-COMMON'] = Options.options.libcephfs_dir + '/lib/ceph'
|
||||
else:
|
||||
conf.env['LIBPATH_CEPH-COMMON'] = Options.options.LIBDIR + '/ceph'
|
||||
|
||||
if (Options.options.with_cephfs and
|
||||
conf.CHECK_HEADERS('cephfs/libcephfs.h', False, False, 'cephfs') and
|
||||
conf.CHECK_LIB('cephfs', shlib=True) and
|
||||
conf.CHECK_LIB('ceph-common', shlib=True)):
|
||||
conf.CHECK_LIB('cephfs', shlib=True)):
|
||||
conf.CHECK_LIB('ceph-common', shlib=True)
|
||||
if Options.options.with_acl_support:
|
||||
conf.DEFINE('HAVE_CEPH', '1')
|
||||
if conf.CHECK_FUNCS_IN('ceph_statx', 'cephfs ceph-common',
|
||||
|
Loading…
Reference in New Issue
Block a user