summaryrefslogtreecommitdiff
path: root/source4/ntvfs/sysdep
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-23 10:46:27 -0400
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:01 +1000
commit04fed1f2b6c8a6ba257a436b80ef19d4ec3db1c7 (patch)
tree05e3f78f8d2c86b26de116216fae025718811c1a /source4/ntvfs/sysdep
parent282de50be79718df79f338ed2c4788a0536fd015 (diff)
downloadsamba-04fed1f2b6c8a6ba257a436b80ef19d4ec3db1c7.tar.gz
samba-04fed1f2b6c8a6ba257a436b80ef19d4ec3db1c7.tar.bz2
samba-04fed1f2b6c8a6ba257a436b80ef19d4ec3db1c7.zip
build: sys_lease_linux needs to be conditionally enabled
Diffstat (limited to 'source4/ntvfs/sysdep')
-rw-r--r--source4/ntvfs/sysdep/wscript_build21
1 files changed, 12 insertions, 9 deletions
diff --git a/source4/ntvfs/sysdep/wscript_build b/source4/ntvfs/sysdep/wscript_build
index 8330d47d9b..eb9612936c 100644
--- a/source4/ntvfs/sysdep/wscript_build
+++ b/source4/ntvfs/sysdep/wscript_build
@@ -4,21 +4,24 @@ bld.SAMBA_MODULE('sys_notify_inotify',
init_function='sys_notify_inotify_init',
deps='LIBEVENTS',
enabled = bld.CONFIG_SET('HAVE_LINUX_INOTIFY')
- )
+ )
bld.SAMBA_SUBSYSTEM('sys_notify',
- source='sys_notify.c'
- )
+ source='sys_notify.c'
+ )
-bld.SAMBA_SUBSYSTEM('sys_lease_linux',
- source='sys_lease_linux.c',
- deps='tevent'
- )
+bld.SAMBA_MODULE('sys_lease_linux',
+ source='sys_lease_linux.c',
+ deps='tevent',
+ subsystem='sys_lease',
+ init_function='sys_lease_linux_init',
+ enabled = bld.CONFIG_SET('HAVE_F_SETLEASE_DECL')
+ )
bld.SAMBA_SUBSYSTEM('sys_lease',
- source='sys_lease.c'
- )
+ source='sys_lease.c'
+ )