From 973e047a941fbfd5f37f788674dd9680827df33f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 2 Nov 2011 12:04:46 +0100 Subject: s3-waf: convert libnet_keytab into a private library. Guenther --- source3/wscript_build | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/wscript_build b/source3/wscript_build index cdd0755c4e..c9e77fbd00 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -510,7 +510,7 @@ SMBCONFTORT_SRC0 = 'lib/smbconf/testsuite.c' SMBCONFTORT_SRC = '''${SMBCONFTORT_SRC0}''' -LIBNET_SRC = 'libnet/libnet_join.c libnet/libnet_keytab.c' +LIBNET_SRC = 'libnet/libnet_join.c' LIBNET_DSSYNC_SRC = '''libnet/libnet_dssync.c @@ -943,9 +943,16 @@ bld.SAMBA3_SUBSYSTEM('FNAME_UTIL', bld.SAMBA3_SUBSYSTEM('LIBNET', source=LIBNET_SRC, - deps='NDR_LIBNET_JOIN KRB5_WRAP', + deps='NDR_LIBNET_JOIN KRB5_WRAP net_keytab', vars=locals()) +bld.SAMBA3_LIBRARY('net_keytab', + source='libnet/libnet_keytab.c', + deps='KRB5_WRAP ads', + vars=locals(), + private_library=True) + + bld.SAMBA3_SUBSYSTEM('LIBNET_DSSYNC', source=LIBNET_DSSYNC_SRC, deps='LIBNET LIBCLI_DRSUAPI tdb-wrap3', -- cgit