summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',