summaryrefslogtreecommitdiff
path: root/source3/modules/wscript_build
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-01-04 12:54:16 -0800
committerJeremy Allison <jra@samba.org>2012-01-05 01:43:51 +0100
commit3a18a42d13b87a5a6c41d8a70e961313fd6d0a86 (patch)
treee57fc097ed9edb42e4e2eacd43fa03d0186e50ef /source3/modules/wscript_build
parentd2d4dfdfedc59cf2b4f4d667ae5c97bdd5df4b44 (diff)
downloadsamba-3a18a42d13b87a5a6c41d8a70e961313fd6d0a86.tar.gz
samba-3a18a42d13b87a5a6c41d8a70e961313fd6d0a86.tar.bz2
samba-3a18a42d13b87a5a6c41d8a70e961313fd6d0a86.zip
Add S3 vfs_aio_pthread module to replace broken glibc aio code.
Compiles but not yet tested. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 5 01:43:51 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/modules/wscript_build')
-rw-r--r--source3/modules/wscript_build10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build
index 86fc64781a..d59e29ccd9 100644
--- a/source3/modules/wscript_build
+++ b/source3/modules/wscript_build
@@ -36,6 +36,7 @@ VFS_READAHEAD_SRC = 'vfs_readahead.c'
VFS_TSMSM_SRC = 'vfs_tsmsm.c'
VFS_FILEID_SRC = 'vfs_fileid.c'
VFS_AIO_FORK_SRC = 'vfs_aio_fork.c'
+VFS_AIO_PTHREAD_SRC = 'vfs_aio_pthread.c'
VFS_PREOPEN_SRC = 'vfs_preopen.c'
VFS_SYNCOPS_SRC = 'vfs_syncops.c'
VFS_ACL_XATTR_SRC = 'vfs_acl_xattr.c'
@@ -348,6 +349,15 @@ bld.SAMBA3_MODULE('vfs_aio_fork',
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork'),
allow_undefined_symbols=True)
+bld.SAMBA3_MODULE('vfs_aio_pthread',
+ subsystem='vfs',
+ source=VFS_AIO_PTHREAD_SRC,
+ deps='samba-util',
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_pthread'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_pthread'),
+ allow_undefined_symbols=True)
+
bld.SAMBA3_MODULE('vfs_preopen',
subsystem='vfs',
source=VFS_PREOPEN_SRC,