From eb0005dfcabedbeed0a75f139d6625b268d5062a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 30 Oct 2010 12:14:15 +1100 Subject: s4-tdb: make tdb-wrap into a private library this prevents double linking of the tdb wrap code --- source4/lib/wscript_build | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'source4/lib/wscript_build') diff --git a/source4/lib/wscript_build b/source4/lib/wscript_build index 49da72caca..27b5582ad9 100644 --- a/source4/lib/wscript_build +++ b/source4/lib/wscript_build @@ -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 + ) -- cgit