diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-04 10:28:15 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-06 07:51:24 +0200 |
commit | 14750139639b3531e57a3ca3f9e481d6e458dc06 (patch) | |
tree | 3aa3e6b64b0131b5c37700546411f0e0f18a01b8 /lib/util/wscript_build | |
parent | f455772b99dec88ae0eafc3206d42d88de89461d (diff) | |
download | samba-14750139639b3531e57a3ca3f9e481d6e458dc06.tar.gz samba-14750139639b3531e57a3ca3f9e481d6e458dc06.tar.bz2 samba-14750139639b3531e57a3ca3f9e481d6e458dc06.zip |
lib/util Move source3 tdb_wrap_open() into the common code.
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in
the top level build, these options are not available for these
databases. However, having two different tdb_wrap lists is a worse
fate, so this will do for now.
Andrew Bartlett
Diffstat (limited to 'lib/util/wscript_build')
-rwxr-xr-x | lib/util/wscript_build | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/util/wscript_build b/lib/util/wscript_build index abdedb5775..59a2782b60 100755 --- a/lib/util/wscript_build +++ b/lib/util/wscript_build @@ -108,3 +108,13 @@ bld.SAMBA_SUBSYSTEM('UTIL_PW', local_include=False, public_deps='talloc' ) + + +bld.SAMBA_LIBRARY('tdb-wrap', + source='tdb_wrap.c', + deps='tdb talloc samba-util', + public_headers='tdb_wrap.h', + private_library=True, + local_include=False + ) + |