diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-03 09:20:02 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-03 09:20:02 +0200 |
commit | a3c9dd3d48a97bf7c1c7731f0e52b72cc019fb1b (patch) | |
tree | bffa541130878e967df8cd3d7ab2155aff761ff1 /source3/auth | |
parent | 7e52436673402095811eb081a0c036427fd31f84 (diff) | |
download | samba-a3c9dd3d48a97bf7c1c7731f0e52b72cc019fb1b.tar.gz samba-a3c9dd3d48a97bf7c1c7731f0e52b72cc019fb1b.tar.bz2 samba-a3c9dd3d48a97bf7c1c7731f0e52b72cc019fb1b.zip |
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
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/wscript_build | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/auth/wscript_build b/source3/auth/wscript_build index 74d870fc1b..352ca1532c 100644 --- a/source3/auth/wscript_build +++ b/source3/auth/wscript_build @@ -32,10 +32,11 @@ bld.SAMBA3_SUBSYSTEM('AUTH_COMMON', deps='TOKEN_UTIL DCUTIL USER_UTIL', vars=locals()) -bld.SAMBA3_SUBSYSTEM('auth', +bld.SAMBA3_LIBRARY('auth', source=AUTH_SRC, deps='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL AUTH_COMMON''', - vars=locals()) + allow_undefined_symbols=True, + private_library=True) bld.SAMBA3_MODULE('auth_sam', subsystem='auth', @@ -75,7 +76,8 @@ bld.SAMBA3_MODULE('auth_server', deps='samba-util', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_server'), - enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_server')) + enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_server'), + allow_undefined_symbols=True) bld.SAMBA3_MODULE('auth_domain', subsystem='auth', |