1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s4-tdb: make tdb-wrap into a private library

this prevents double linking of the tdb wrap code
This commit is contained in:
Andrew Tridgell 2010-10-30 12:14:15 +11:00
parent 045e3445a0
commit eb0005dfca
4 changed files with 10 additions and 9 deletions

View File

@ -21,6 +21,6 @@ bld.SAMBA_SUBSYSTEM('LIBCLI_AUTH',
bld.SAMBA_SUBSYSTEM('COMMON_SCHANNELDB',
source='schannel_state_tdb.c',
deps='TDB_WRAP'
deps='tdb-wrap'
)

View File

@ -3,7 +3,7 @@
bld.SAMBA_SUBSYSTEM('MESSAGING',
source='messaging.c',
public_deps='samba-util TDB_WRAP NDR_IRPC UNIX_PRIVS UTIL_TDB CLUSTER ndr samba_socket dcerpc'
public_deps='samba-util tdb-wrap NDR_IRPC UNIX_PRIVS UTIL_TDB cluster ndr samba_socket dcerpc'
)

View File

@ -9,13 +9,14 @@ bld.SAMBA_SUBSYSTEM('LZXPRESS',
bld.SAMBA_SUBSYSTEM('GENCACHE',
source='../../source3/lib/gencache.c',
enabled=False,
deps='TDB_WRAP'
deps='tdb-wrap'
)
bld.SAMBA_SUBSYSTEM('TDB_WRAP',
source='tdb_wrap.c',
public_deps='tdb talloc',
public_headers='tdb_wrap.h'
)
bld.SAMBA_LIBRARY('tdb-wrap',
source='tdb_wrap.c',
deps='tdb talloc samba-util',
public_headers='tdb_wrap.h',
private_library=True
)

View File

@ -43,7 +43,7 @@ bld.SAMBA_MODULE('share_ldb',
bld.SAMBA_SUBSYSTEM('SECRETS',
source='secrets.c',
deps='ldb TDB_WRAP UTIL_TDB NDR_SECURITY tevent ldbwrap'
deps='ldb tdb-wrap UTIL_TDB NDR_SECURITY tevent ldbwrap'
)