summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-30 11:46:20 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-30 23:49:01 +1100
commit045e3445a0cea796c400eacbdb28611b664ef902 (patch)
tree0cf028d2cf6a917e4f80c4dd1ebe6007ec4570a8 /source4/auth/kerberos/wscript_build
parent7a26bb9f7790cf9e0bf2e0e7b841fd5c4a64594c (diff)
downloadsamba-045e3445a0cea796c400eacbdb28611b664ef902.tar.gz
samba-045e3445a0cea796c400eacbdb28611b664ef902.tar.bz2
samba-045e3445a0cea796c400eacbdb28611b664ef902.zip
s4-auth: make KERBEROS subsystem into authkrb5 private library
this fixes some double linking. The name 'KERBEROS' was also a bit confusing, as it sounded like a base kerberos library, when it is in fact part of auth
Diffstat (limited to 'source4/auth/kerberos/wscript_build')
-rw-r--r--source4/auth/kerberos/wscript_build15
1 files changed, 8 insertions, 7 deletions
diff --git a/source4/auth/kerberos/wscript_build b/source4/auth/kerberos/wscript_build
index 4f0c8ccadd..c272d294b7 100644
--- a/source4/auth/kerberos/wscript_build
+++ b/source4/auth/kerberos/wscript_build
@@ -1,15 +1,16 @@
#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('KERBEROS',
- source='kerberos.c clikrb5.c kerberos_heimdal.c kerberos_pac.c gssapi_parse.c krb5_init_context.c keytab_copy.c',
- autoproto='proto.h',
- public_deps='krb5 NDR_KRB5PAC samba_socket LIBCLI_RESOLVE com_err',
- deps='ASN1_UTIL auth_sam_reply tevent LIBPACKET ndr'
- )
+bld.SAMBA_LIBRARY('authkrb5',
+ source='kerberos.c clikrb5.c kerberos_heimdal.c kerberos_pac.c gssapi_parse.c krb5_init_context.c keytab_copy.c',
+ autoproto='proto.h',
+ public_deps='krb5 NDR_KRB5PAC samba_socket LIBCLI_RESOLVE com_err',
+ deps='ASN1_UTIL auth_sam_reply tevent LIBPACKET ndr',
+ private_library=True
+ )
bld.SAMBA_SUBSYSTEM('KERBEROS_UTIL',
autoproto='kerberos_util.h',
source='kerberos_util.c',
- deps='KERBEROS com_err ldb CREDENTIALS_KRB5 SECRETS',
+ deps='authkrb5 com_err ldb CREDENTIALS_KRB5 SECRETS',
)