From a3c9dd3d48a97bf7c1c7731f0e52b72cc019fb1b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 3 Jul 2011 09:20:02 +0200 Subject: s3-build Prepare to require fully defined modules This specifies some more deps for our modules, and ensures that the subsystem that it links against is in fact a library, which will avoid issues with introducing duplicate symbols. Andrew Bartlett --- source3/modules/wscript_build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source3/modules') diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build index 920b7c1971..2ae7a7e33a 100644 --- a/source3/modules/wscript_build +++ b/source3/modules/wscript_build @@ -62,7 +62,7 @@ bld.SAMBA3_SUBSYSTEM('VFS_AIXACL_UTIL', bld.SAMBA3_SUBSYSTEM('vfs', source='', - deps='', + deps='smbd_base', vars=locals()) bld.SAMBA3_MODULE('vfs_default', @@ -345,7 +345,8 @@ bld.SAMBA3_MODULE('vfs_aio_fork', deps='samba-util', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_fork'), - enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork')) + enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork'), + allow_undefined_symbols=True) bld.SAMBA3_MODULE('vfs_preopen', subsystem='vfs', @@ -450,7 +451,7 @@ PERFCOUNT_TEST_SRC = 'perfcount_test.c' bld.SAMBA3_SUBSYSTEM('perfcount', source='', - vars=locals()) + deps='smbd_base') bld.SAMBA3_MODULE('perfcount_onefs', subsystem='perfcount', -- cgit