summaryrefslogtreecommitdiff
path: root/source3/winbindd/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-03 09:20:02 +0200
committerAndrew Bartlett <abartlet@samba.org>2011-07-03 09:20:02 +0200
commita3c9dd3d48a97bf7c1c7731f0e52b72cc019fb1b (patch)
treebffa541130878e967df8cd3d7ab2155aff761ff1 /source3/winbindd/wscript_build
parent7e52436673402095811eb081a0c036427fd31f84 (diff)
downloadsamba-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/winbindd/wscript_build')
-rw-r--r--source3/winbindd/wscript_build15
1 files changed, 9 insertions, 6 deletions
diff --git a/source3/winbindd/wscript_build b/source3/winbindd/wscript_build
index 387f15065a..3bd14ee534 100644
--- a/source3/winbindd/wscript_build
+++ b/source3/winbindd/wscript_build
@@ -22,10 +22,12 @@ IDMAP_AUTORID_SRC = '''idmap_autorid.c'''
IDMAP_RW_SRC = 'idmap_rw.c'
IDMAP_SRC = 'idmap.c idmap_util.c ${IDMAP_RW_SRC}'
-bld.SAMBA3_SUBSYSTEM('idmap',
- source=IDMAP_SRC,
- deps='samba-util',
- vars=locals())
+bld.SAMBA3_LIBRARY('idmap',
+ source=IDMAP_SRC,
+ deps='samba-util',
+ vars=locals(),
+ allow_undefined_symbols=True,
+ private_library=True)
bld.SAMBA3_SUBSYSTEM('IDMAP_ADEX',
source=IDMAP_ADEX_SRC,
@@ -60,7 +62,7 @@ bld.SAMBA3_MODULE('idmap_rid',
bld.SAMBA3_MODULE('idmap_passdb',
subsystem='idmap',
source=IDMAP_PASSDB_SRC,
- deps='samba-util',
+ deps='samba-util passdb',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_passdb'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_passdb'))
@@ -118,7 +120,8 @@ bld.SAMBA3_MODULE('idmap_autorid',
deps='samba-util tdb',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_autorid'),
- enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_autorid'))
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_autorid'),
+ allow_undefined_symbols=True)
NSS_INFO_TEMPLATE_SRC = 'nss_info_template.c'