summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-11-02 12:04:46 +0100
committerGünther Deschner <gd@samba.org>2011-11-02 16:59:32 +0100
commit973e047a941fbfd5f37f788674dd9680827df33f (patch)
treeabaf9cc993482918a82400d867ad3763004a8ddb /source3
parent13ff228b7b4d6e96341bc9c126edd0df1d20e7e4 (diff)
downloadsamba-973e047a941fbfd5f37f788674dd9680827df33f.tar.gz
samba-973e047a941fbfd5f37f788674dd9680827df33f.tar.bz2
samba-973e047a941fbfd5f37f788674dd9680827df33f.zip
s3-waf: convert libnet_keytab into a private library.
Guenther
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/wscript_build11
1 files changed, 9 insertions, 2 deletions
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',