summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-30 17:27:23 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-31 00:32:08 +0200
commit019910034854dc1ed70ba09a14d419ed45903715 (patch)
treeb9f001af57ab3ef801d7b8cd7c025e31fd317f40 /source3/wscript_build
parente65f4dd9d4ca7019e537da8f4ab3061c76fd8204 (diff)
downloadsamba-019910034854dc1ed70ba09a14d419ed45903715.tar.gz
samba-019910034854dc1ed70ba09a14d419ed45903715.tar.bz2
samba-019910034854dc1ed70ba09a14d419ed45903715.zip
s3-build Create dbwrap_util subsystem
This contains the functions from dbwrap that don't require lp_ functions, and can therefore be put into a library (without dependency loops). Andrew Bartlett
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build10
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 7a8ce26f27..90f03ef1c9 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -77,7 +77,7 @@ LIB_SRC = '''
lib/util_file.c
lib/util.c lib/util_cmdline.c lib/util_names.c
lib/util_sock.c lib/sock_exec.c lib/util_sec.c
- lib/substitute.c lib/substitute_generic.c lib/dbwrap_util.c
+ lib/substitute.c lib/substitute_generic.c
lib/ms_fnmatch.c
lib/tallocmsg.c lib/dmallocmsg.c
libsmb/clisigning.c libsmb/smb_signing.c
@@ -793,7 +793,7 @@ bld.SAMBA3_SUBSYSTEM('KRBCLIENT',
bld.SAMBA3_SUBSYSTEM('samba3core',
source=LIB_SRC,
- deps='LIBCRYPTO ndr security NDR_SECURITY samba-util NDR_MESSAGING LIBASYNC_REQ tdb-wrap3 UTIL_TDB UTIL_PW SAMBA_VERSION KRB5_WRAP flag_mapping util_reg PTHREADPOOL interfaces cap string_init param util_str CHARSET3 namearray SECRETS3',
+ deps='LIBCRYPTO ndr security NDR_SECURITY samba-util NDR_MESSAGING LIBASYNC_REQ tdb-wrap3 UTIL_TDB UTIL_PW SAMBA_VERSION KRB5_WRAP flag_mapping util_reg PTHREADPOOL interfaces cap string_init param util_str CHARSET3 namearray SECRETS3 dbwrap_util',
vars=locals())
bld.SAMBA3_SUBSYSTEM('LIB_NONSMBD',
@@ -993,6 +993,12 @@ bld.SAMBA3_SUBSYSTEM('tdb-wrap3',
deps='tdb-wrap',
vars=locals())
+bld.SAMBA3_LIBRARY('dbwrap_util',
+ source='lib/dbwrap_util.c',
+ deps='samba-util-common UTIL_TDB errors',
+ private_library=True,
+ allow_undefined_symbols=False)
+
bld.SAMBA3_LIBRARY('string_init',
source='''lib/string_init.c''',
deps='samba-util-common',