mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s3:wscript: vfs_gpfs needs kernel oplock support
It uses symbols, which are only available if we have HAVE_KERNEL_OPLOCKS_LINUX defined. This is not the case when building withing the Windows Subsystem for Liux (WSL). So we better don't try to build the vfs_gpfs module there. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 7 09:37:37 UTC 2020 on sn-devel-184
This commit is contained in:
parent
58adf349ed
commit
2a7317e0b2
@ -1999,7 +1999,7 @@ main() {
|
||||
if conf.CONFIG_SET('DARWINOS'):
|
||||
default_static_modules.extend(TO_LIST('charset_macosxfs'))
|
||||
|
||||
if conf.CONFIG_SET('HAVE_GPFS'):
|
||||
if conf.CONFIG_SET('HAVE_GPFS') and conf.CONFIG_SET('HAVE_KERNEL_OPLOCKS_LINUX'):
|
||||
default_shared_modules.extend(TO_LIST('vfs_gpfs'))
|
||||
|
||||
if (conf.CONFIG_SET('HAVE_LINUX_IOCTL')
|
||||
|
Loading…
x
Reference in New Issue
Block a user