diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-13 15:26:30 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-13 08:39:35 +0200 |
commit | 53e0bada43a9185f502a38e960337b51aab7bcf8 (patch) | |
tree | 044e1c38f518f53ccdde9824f40eda81857248c7 | |
parent | d309499b9e268bff5e366a9986528f0accbc02b3 (diff) | |
download | samba-53e0bada43a9185f502a38e960337b51aab7bcf8.tar.gz samba-53e0bada43a9185f502a38e960337b51aab7bcf8.tar.bz2 samba-53e0bada43a9185f502a38e960337b51aab7bcf8.zip |
build: Bring DYNCONFIG into samba-util library to avoid symbol duplication
When this was depended on directly as a subsystem, it ended up in
multiple libraries.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Apr 13 08:39:35 CEST 2011 on sn-devel-104
-rwxr-xr-x | lib/util/wscript_build | 2 | ||||
-rwxr-xr-x | source3/wscript_build | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/util/wscript_build b/lib/util/wscript_build index 8e73e0f3e2..1186cd7c10 100755 --- a/lib/util/wscript_build +++ b/lib/util/wscript_build @@ -24,7 +24,7 @@ if bld.env._SAMBA_BUILD_ == 4: source='''dprintf.c ms_fnmatch.c parmlist.c substitute.c util_str.c ''', - deps='samba-util-common', + deps='samba-util-common DYNCONFIG', public_deps='talloc CHARSET execinfo uid_wrapper', public_headers='attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h util.h', header_path= [ ('dlinklist.h util.h', '.'), ('*', 'util') ], diff --git a/source3/wscript_build b/source3/wscript_build index 82525b8cab..15c4b2a92b 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -662,7 +662,7 @@ if not bld.env.toplevel_build: bld.SAMBA3_LIBRARY('netapi', source=LIBNETAPI_SRC, public_deps='''talloc tdb cap wbclient LIB_NONSMBD LIBSMB KRBCLIENT - passdb SMBLDAP PARAM_WITHOUT_REG DYNCONFIG + passdb SMBLDAP PARAM_WITHOUT_REG samba-util LIBMSRPC_GEN msrpc3 ads LIBNET DCUTIL NDR_LIBNETAPI RPC_CLIENT_SCHANNEL LIB_SMBCONF REG_SMBCONF TOKEN_UTIL LIBCLI_SAMR LIBCLI_LSA3 LIBRPCCLI_NETLOGON @@ -739,7 +739,7 @@ bld.SAMBA3_SUBSYSTEM('PARAM_WITHOUT_REG', bld.SAMBA3_LIBRARY('param', source='', - deps='PARAM_WITHOUT_REG DYNCONFIG LIB_SMBCONF', + deps='PARAM_WITHOUT_REG samba-util LIB_SMBCONF', private_library=True, vars=locals()) @@ -854,7 +854,7 @@ bld.SAMBA3_SUBSYSTEM('LIB_SMBCONF', bld.SAMBA3_LIBRARY('smbd_base', source=SMBD_SRC_BASE, deps='''tdb tevent dl krb5 ldap gssapi gssapi_krb5 - DYNCONFIG wbclient crypt nsl cups cap resolv z passdb + samba-util wbclient crypt nsl cups cap resolv z passdb PARAM_WITHOUT_REG samba3core LIBSMB POPT_SAMBA3 KRBCLIENT AVAHI LIBMSRPC_GEN msrpc3 ads LIBADS_SERVER LIBADS_PRINTER vfs vfs_default vfs_posixacl auth rpc LOCKING LIBAFS LIBAFS_SETTOKEN PROFILE @@ -965,7 +965,7 @@ bld.SAMBA3_SUBSYSTEM('tdb-wrap3', bld.SAMBA3_SUBSYSTEM('CHARSET3', source='''lib/util_str.c lib/charcnv.c ../lib/util/charset/convert_string.c lib/fstring.c''', public_deps='ICONV_WRAPPER CODEPOINTS', - deps='DYNCONFIG') + deps='samba-util') bld.SAMBA3_SUBSYSTEM('ldb3', source='lib/ldb_compat.c') @@ -1314,7 +1314,7 @@ if not bld.env.toplevel_build: bld.SAMBA3_SUBSYSTEM('POPT_SAMBA', source='', deps='POPT_SAMBA3') bld.SAMBA3_SUBSYSTEM('tdb-wrap', source='', deps='tdb-wrap3') bld.SAMBA3_SUBSYSTEM('errors', source='', deps='errors3') - bld.SAMBA3_SUBSYSTEM('samba-util', source='') + bld.SAMBA3_SUBSYSTEM('samba-util', source='', deps='DYNCONFIG') bld.SAMBA3_SUBSYSTEM('CHARSET', source='', deps='CHARSET3') bld.SAMBA3_SUBSYSTEM('ldb', source='', deps='ldb3') bld.SAMBA3_SUBSYSTEM('dcerpc', '', deps='UTIL_TEVENT') |