From: Anoop C S Date: Sun, 8 Sep 2024 07:22:59 +0000 (+0530) Subject: wscript_build: Do not link vfs_ceph_new against libcephfs X-Git-Tag: samba-4.20.8~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f176b0374d436f3ebc9b2da0c135f982aecd5aac;p=thirdparty%2Fsamba.git wscript_build: Do not link vfs_ceph_new against libcephfs vfs_ceph_new dynamically loads the appropriate libcephfs shared libraries which means that we don't statically link against it. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15703 Signed-off-by: Anoop C S Reviewed-by: Guenther Deschner (cherry picked from commit 095ece43a2edbdeb498e8bef07bdf09f9836bb40) --- diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build index 85708100189..ce16d8c876c 100644 --- a/source3/modules/wscript_build +++ b/source3/modules/wscript_build @@ -542,7 +542,7 @@ bld.SAMBA3_MODULE('vfs_ceph', bld.SAMBA3_MODULE('vfs_ceph_new', subsystem='vfs', source='vfs_ceph_new.c', - deps='POSIXACL_XATTR samba-util cephfs', + deps='POSIXACL_XATTR samba-util', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_ceph_new'), enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_ceph_new'),